IMSElement#
- class pyopenms.IMSElement#
Bases:
objectOpenMS class IMSElement
- __init__() None#
- __init__(arg: pyopenms.IMSElement, /) None
- __init__(arg0: str, arg1: pyopenms.IMSIsotopeDistribution, /) None
- __init__(arg0: str, arg1: float, /) None
- __init__(arg0: str, arg1: int, /) None
Methods
__init__()Gets element's average mass
getIonMass([electrons_number])Gets ion mass of element.
Gets element's isotope distribution
getMass([index])Gets mass of element's isotope 'index'
getName()Gets element's name
Gets element's nominal mass
Gets element's sequence
setIsotopeDistribution(isotopes)Sets element's isotope distribution
setName(name)Sets element's name
setSequence(sequence)Sets element's sequence
- getAverageMass() float#
Gets element’s average mass
- getIonMass(electrons_number: int = 1) float#
Gets ion mass of element. By default ion lacks 1 electron, but this can be changed by setting other ‘electrons_number’
- getIsotopeDistribution() pyopenms.IMSIsotopeDistribution#
Gets element’s isotope distribution
- getMass(index: int = 0) float#
Gets mass of element’s isotope ‘index’
- getName() str#
Gets element’s name
- getNominalMass() int#
Gets element’s nominal mass
- getSequence() str#
Gets element’s sequence
- setIsotopeDistribution(isotopes: pyopenms.IMSIsotopeDistribution) None#
Sets element’s isotope distribution
- setName(name: str) None#
Sets element’s name
- setSequence(sequence: str) None#
Sets element’s sequence