Class: Mspire::Lipid::Search::DBIsobarGroup
- Inherits:
-
Array
- Object
- Array
- Mspire::Lipid::Search::DBIsobarGroup
- Defined in:
- lib/mspire/lipid/search/db_isobar_group.rb
Overview
this is a group of Lipid::Ion objects that all have the same (or possibly similar) m/z
Instance Attribute Summary collapse
-
#mz ⇒ Object
it is implemented like this so that the isobar group could have individuals in it with slightly different m/z values and this coudl still be used as a container.
Instance Method Summary collapse
-
#initialize(ar = [], mz = nil) ⇒ DBIsobarGroup
constructor
A new instance of DBIsobarGroup.
Constructor Details
#initialize(ar = [], mz = nil) ⇒ DBIsobarGroup
Returns a new instance of DBIsobarGroup.
13 14 15 16 |
# File 'lib/mspire/lipid/search/db_isobar_group.rb', line 13 def initialize( ar=[], mz=nil) @mz = mz if mz self.replace(ar) end |
Instance Attribute Details
#mz ⇒ Object
it is implemented like this so that the isobar group could have individuals in it with slightly different m/z values and this coudl still be used as a container. In my current implementation they have exactly the same m/z
12 13 14 |
# File 'lib/mspire/lipid/search/db_isobar_group.rb', line 12 def mz @mz end |