Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

LmaIsotopeModel Class Reference
[FeatureFinder]

#include <OpenMS/TRANSFORMATIONS/FEATUREFINDER/LmaIsotopeModel.h>

Inheritance diagram for LmaIsotopeModel:

InterpolationModel BaseModel< 1 > FactoryProduct DefaultParamHandler

List of all members.


Detailed Description

Isotope distribution approximated using linear interpolation.

LmaIsotopeModel Parameters are explained on a separate page.

Public Types

enum  Averagines {
  C = 0, H, N, O,
  S, AVERAGINE_NUM
}
typedef
InterpolationModel::CoordinateType 
CoordinateType
typedef
InterpolationModel::CoordinateType 
IntensityType

Public Member Functions

 LmaIsotopeModel ()
 Default constructor.
 LmaIsotopeModel (const LmaIsotopeModel &source)
 copy constructor
virtual ~LmaIsotopeModel ()
 destructor
virtual LmaIsotopeModeloperator= (const LmaIsotopeModel &source)
 assignment operator
UInt getCharge ()
 returns the charge
void setOffset (CoordinateType offset)
 set the offset of the model
CoordinateType getOffset ()
 returns the offset
void setSamples ()
 set sample/supporting points of interpolation
CoordinateType getCenter () const
 get the monoisotopic mass of the Isotope model This is a m/z-value not necessarily the monoisotopic mass.

Static Public Member Functions

static BaseModel< 1 > * create ()
 create new LmaIsotopeModel object (needed by Factory)
static const String getProductName ()
 name of the model (needed by Factory)

Protected Member Functions

void updateMembers_ ()
 This method is used to update extra member variables at the end of the setParam() method.

Protected Attributes

CoordinateType total_intensity_
 total intensity (area under curve)
CoordinateType min_
CoordinateType max_
CoordinateType isotope_stdev_
UInt charge_
CoordinateType mean_
CoordinateType monoisotopic_mz_
DoubleReal averagine_ [AVERAGINE_NUM]
Int max_isotope_
DoubleReal trim_right_cutoff_
DoubleReal isotope_distance_


Member Typedef Documentation

typedef InterpolationModel::CoordinateType CoordinateType

Reimplemented from InterpolationModel.

typedef InterpolationModel::CoordinateType IntensityType

Reimplemented from InterpolationModel.


Member Enumeration Documentation

enum Averagines

Enumerator:
C 
H 
N 
O 
S 
AVERAGINE_NUM 


Constructor & Destructor Documentation

LmaIsotopeModel (  ) 

Default constructor.

LmaIsotopeModel ( const LmaIsotopeModel source  ) 

copy constructor

virtual ~LmaIsotopeModel (  )  [virtual]

destructor


Member Function Documentation

virtual LmaIsotopeModel& operator= ( const LmaIsotopeModel source  )  [virtual]

assignment operator

UInt getCharge (  ) 

returns the charge

static BaseModel<1>* create (  )  [inline, static]

create new LmaIsotopeModel object (needed by Factory)

static const String getProductName (  )  [inline, static]

name of the model (needed by Factory)

void setOffset ( CoordinateType  offset  ) 

set the offset of the model

The whole model will be shifted to the new offset without being computing all over. This leaves a discrepancy which is minor in small shifts (i.e. shifting by one or two standard deviations) but can get significant otherwise. In that case use setParameters() which enforces a recomputation of the model.

CoordinateType getOffset (  ) 

returns the offset

void setSamples (  )  [virtual]

set sample/supporting points of interpolation

Implements InterpolationModel.

CoordinateType getCenter (  )  const [virtual]

get the monoisotopic mass of the Isotope model This is a m/z-value not necessarily the monoisotopic mass.

Implements InterpolationModel.

void updateMembers_ (  )  [protected, virtual]

This method is used to update extra member variables at the end of the setParam() method.

Also call it at the end of the derived classes' copy constructor and assignment operator.

The default implementation is empty.

Reimplemented from InterpolationModel.


Member Data Documentation

CoordinateType total_intensity_ [protected]

total intensity (area under curve)

CoordinateType min_ [protected]

CoordinateType max_ [protected]

CoordinateType isotope_stdev_ [protected]

UInt charge_ [protected]

CoordinateType mean_ [protected]

CoordinateType monoisotopic_mz_ [protected]

DoubleReal averagine_[AVERAGINE_NUM] [protected]

Int max_isotope_ [protected]

DoubleReal trim_right_cutoff_ [protected]

DoubleReal isotope_distance_ [protected]


The documentation for this class was generated from the following file:
Generated Tue Apr 1 15:36:47 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1