Class: Mspire::Mzml::Activation
- Inherits:
-
Object
- Object
- Mspire::Mzml::Activation
- Includes:
- CV::Paramable
- Defined in:
- lib/mspire/mzml/activation.rb
Overview
MAY supply a child term of MS:1000510 (precursor activation attribute) one or more times
e.g.: MS:1000045 (collision energy)
e.g.: MS:1000138 (percent collision energy)
e.g.: MS:1000245 (charge stripping)
e.g.: MS:1000412 (buffer gas)
e.g.: MS:1000419 (collision gas)
e.g.: MS:1000509 (activation energy)
e.g.: MS:1000869 (collision gas pressure)
MUST supply term MS:1000044 (dissociation method) or any of its children one or more times
e.g.: MS:1000133 (collision-induced dissociation)
e.g.: MS:1000134 (plasma desorption)
e.g.: MS:1000135 (post-source decay)
e.g.: MS:1000136 (surface-induced dissociation)
e.g.: MS:1000242 (blackbody infrared radiative dissociation)
e.g.: MS:1000250 (electron capture dissociation)
e.g.: MS:1000262 (infrared multiphoton dissociation)
e.g.: MS:1000282 (sustained off-resonance irradiation)
e.g.: MS:1000422 (high-energy collision-induced dissociation)
e.g.: MS:1000433 (low-energy collision-induced dissociation)
et al.
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
31 32 33 34 35 |
# File 'lib/mspire/mzml/activation.rb', line 31 def self.from_xml(xml) obj = self.new [:cvParam, :userParam].each {|v| obj.describe! xml.xpath("./#{v}") } obj end |