Sha256: ae2487a19f979949bbda6a3c95ae812f7a4fce6ba20de903a56af811d5a33e8e
Contents?: true
Size: 334 Bytes
Versions: 1
Compression:
Stored size: 334 Bytes
Contents
module Mspire # 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) class Peak < Array alias_method :x, :first alias_method :y, :last end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mspire-0.7.8 | lib/mspire/peak.rb |