Class: MS::Lipid::Search::Query
- Inherits:
-
Object
- Object
- MS::Lipid::Search::Query
- Defined in:
- lib/ms/lipid/search/query.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
the index of search spectrum that the m/z was derived from this allows for the creation of an isotope envelope starting from a particular m/z value.
-
#mz ⇒ Object
the experimentally observed lowest mz.
Instance Method Summary collapse
-
#initialize(mz, index) ⇒ Query
constructor
A new instance of Query.
Constructor Details
#initialize(mz, index) ⇒ Query
Returns a new instance of Query.
17 18 19 |
# File 'lib/ms/lipid/search/query.rb', line 17 def initialize(mz, index) @mz, @index = mz, index end |
Instance Attribute Details
#index ⇒ Object
the index of search spectrum that the m/z was derived from this allows for the creation of an isotope envelope starting from a particular m/z value.
15 16 17 |
# File 'lib/ms/lipid/search/query.rb', line 15 def index @index end |
#mz ⇒ Object
the experimentally observed lowest mz
10 11 12 |
# File 'lib/ms/lipid/search/query.rb', line 10 def mz @mz end |