class Mspire::Peak
A peak is typically a doublet: an x value and a y value. In a spectrum this will be an m/z and intensity. In a chromatogram this will be a retention time and an intensity. (This class can be subclassed if desired)
Public Instance Methods
x=(val)
click to toggle source
# File lib/mspire/peak.rb, line 11 def x=(val) self[0] = val end
y=(val)
click to toggle source
# File lib/mspire/peak.rb, line 15 def y=(val) self[1] = val end