Instrument Configuration

A mass spectrometer may be configured to operate in multiple modes during a single data acquisition run. A program may need to know which configurations were available, and formats like mzML are able record this information. To retrieve the configuration used for a particular scan, see ms_deisotope.data_source.common.Scan.instrument_configuration

class ms_deisotope.data_source.metadata.instrument_components.Component(name, id, description, category, specialization)[source]

Describes a named component of a mass spectrometer, either using a controlled-vocabulary term or user-defined name.

A Component is equal to its name and its controlled vocabulary identifier.

is_a(term)

Test whether this entity is exactly term or a specialization of term

Parameters

term (str or Term) – The entity to compare to

Returns

Return type

bool

class ms_deisotope.data_source.metadata.instrument_components.ComponentGroup(type, members, order)[source]

Represent a collection of Component objects which are part of a single instrument subsystem.

type

The name of the instrument subsystem

Type

str

members

The components contained

Type

list

order

The position of this group in the sequence of steps that analytes take when passing through the instrument.

Type

int

class ms_deisotope.data_source.metadata.instrument_components.InstrumentInformation(id=None, groups=None, model=None, serial_number=None, name=None, software=None)[source]

Describes a single configuration of an instrument for acquiring spectra.

Parameters
  • id (object) – The within-run unique identifier of this configuration. May be an integer or string

  • groups (list of ComponentGroup) – The component groups, sorted by ComponentGroup.order, in this configuraton

  • analyzers (list) – A convenience list for storing the Component objects which are ``analyzer``s

ms_deisotope.data_source.metadata.instrument_components.ionization_types

Error

Unable to execute python code at instrument_configuration.rst:18:

object of type ‘map’ has no len()

ms_deisotope.data_source.metadata.instrument_components.detector_types

Error

Unable to execute python code at instrument_configuration.rst:31:

object of type ‘map’ has no len()

ms_deisotope.data_source.metadata.instrument_components.analyzer_types

Error

Unable to execute python code at instrument_configuration.rst:44:

object of type ‘map’ has no len()

ms_deisotope.data_source.metadata.instrument_components.inlet_types

Error

Unable to execute python code at instrument_configuration.rst:57:

object of type ‘map’ has no len()