| OpenMS 2.5.0

Public Member Functions | Public Attributes | List of all members
PenaltyFactorsIntensity Struct Reference

Class for the penalty factors used during the optimization. More...

`#include <OpenMS/TRANSFORMATIONS/RAW2PEAK/OptimizePeakDeconvolution.h>`

Inheritance diagram for PenaltyFactorsIntensity:

## Public Member Functions

| PenaltyFactorsIntensity ()
| PenaltyFactorsIntensity (const PenaltyFactorsIntensity &p)
PenaltyFactorsIntensity & | operator= (const PenaltyFactorsIntensity &p)
| ~PenaltyFactorsIntensity ()
Public Member Functions inherited from PenaltyFactors
| PenaltyFactors ()
| PenaltyFactors (const PenaltyFactors &p)
PenaltyFactors & | operator= (const PenaltyFactors &p)
| ~PenaltyFactors ()

## Public Attributes

double | height
Public Attributes inherited from PenaltyFactors
double | pos
| Penalty factor for the peak shape's position. More...
double | lWidth
| Penalty factor for the peak shape's left width parameter. More...
double | rWidth
| Penalty factor for the peak shape's right width parameter. More...

## Detailed Description

Class for the penalty factors used during the optimization.

A great deviation (squared deviation) of a peak shape's position or its left or right width parameter can be penalised. During the optimization negative heights may occur, they are penalised as well.

## Constructor & Destructor Documentation

## ◆ PenaltyFactorsIntensity() [1/2]

PenaltyFactorsIntensity | ( |  | ) |

inline

## ◆ PenaltyFactorsIntensity() [2/2]

PenaltyFactorsIntensity | ( | const PenaltyFactorsIntensity & | p | ) |

inline

## ◆ ~PenaltyFactorsIntensity()

~PenaltyFactorsIntensity | ( |  | ) |

inline

## Member Function Documentation

## ◆ operator=()

PenaltyFactorsIntensity& operator= | ( | const PenaltyFactorsIntensity & | p | ) |

inline

References PenaltyFactorsIntensity::height, PenaltyFactors::lWidth, PenaltyFactors::pos, and PenaltyFactors::rWidth.

## Member Data Documentation

## ◆ height

double height

Referenced by PenaltyFactorsIntensity::operator=(), and TwoDOptimization::setPenalties().