openacquisition.chemistry.isotopes

Module Contents

Classes

IsotopeSplineDB

IsotopeSplineXMLHandler

Interface for receiving logical document content events.

Functions

estimateFromPeptideWeight(mono_mass, max_isotope)

estimateForFragmentFromWeights(mono_peptide_mass, ...)

_calcFragmentIsotopeDistribution(fragment_id, ...)

Attributes

_isotopeSplineDB

openacquisition.chemistry.isotopes.estimateFromPeptideWeight(mono_mass, max_isotope)
openacquisition.chemistry.isotopes.estimateForFragmentFromWeights(mono_peptide_mass, mono_fragment_mass, min_isotope, max_isotope)
openacquisition.chemistry.isotopes._calcFragmentIsotopeDistribution(fragment_id, comp_fragment_id, min_isotope, max_isotope)
class openacquisition.chemistry.isotopes.IsotopeSplineDB
inBounds(mono_mass, max_isotope)
class openacquisition.chemistry.isotopes.IsotopeSplineXMLHandler(splineDB)

Bases: xml.sax.ContentHandler

Interface for receiving logical document content events.

This is the main callback interface in SAX, and the one most important to applications. The order of events in this interface mirrors the order of the information in the document.

startElement(tag, attributes)

Signals the start of an element in non-namespace mode.

The name parameter contains the raw XML 1.0 name of the element type as a string and the attrs parameter holds an instance of the Attributes class containing the attributes of the element.

endElement(tag)

Signals the end of an element in non-namespace mode.

The name parameter contains the name of the element type, just as with the startElement event.

characters(content)

Receive notification of character data.

The Parser will call this method to report each chunk of character data. SAX parsers may return all contiguous character data in a single chunk, or they may split it into several chunks; however, all of the characters in any single event must come from the same external entity so that the Locator provides useful information.

splitCoefficients(coefficients)
decodeDoubleList(encoded, precision, endian, length)
openacquisition.chemistry.isotopes._isotopeSplineDB