Class: Mspire::Mzml::IsolationWindow
- Inherits:
-
Object
- Object
- Mspire::Mzml::IsolationWindow
- Includes:
- CV::Paramable
- Defined in:
- lib/mspire/mzml/isolation_window.rb
Overview
MUST supply a child term of MS:1000792 (isolation window attribute) one or more times
e.g.: MS:1000827 (isolation window target m/z)
e.g.: MS:1000828 (isolation window lower offset)
e.g.: MS:1000829 (isolation window upper offset)
MUST supply a child term of MS:1000792 (isolation window attribute) one or more times
e.g.: MS:1000827 (isolation window target m/z)
e.g.: MS:1000828 (isolation window lower offset)
e.g.: MS:1000829 (isolation window upper offset)
Instance Attribute Summary
Attributes included from CV::Paramable
#cv_params, #ref_param_groups, #user_params
Class Method Summary collapse
Methods included from CV::Paramable
#accessionable_params, #describe!, #describe_many!, #fetch, #fetch_by_accession, #initialize, #param?, #param_by_accession, #params, #params?, #to_xml
Class Method Details
.from_xml(xml) ⇒ Object
19 20 21 22 23 |
# File 'lib/mspire/mzml/isolation_window.rb', line 19 def self.from_xml(xml) obj = self.new [:cvParam, :userParam].each {|v| obj.describe! xml.xpath("./#{v}") } obj end |