#include <XPS4XPS.H>
Inheritance diagram for xpPeakBase:
Public Member Functions | |
xpPeakBase (xpSpectrumBase *Parent, float E=0.0f) | |
xpPeakBase (const xpPeakBase &C) | |
xboolean::xbool | GetCarbon1sPeak (void) const |
float | GetRate (const float counts) const |
float | GetMeasTime (void) |
float | GetSensitivity (void) |
void | SetSensitivity (const float S) |
float | GetConcentration (void) |
void | SetConcentration (const float C) |
float | GetConcentrationUncertainty (void) |
void | SetConcentrationUncertainty (const float C) |
void | SetMeasTime (const float t) |
float | GetPeakCounts (void) |
void | SetPeakCounts (const float c) |
float | GetBgndCounts (void) |
void | SetBgndCounts (const float c) |
float | GetPeakRate (void) |
void | SetPeakRate (const float r) |
float | GetBgndRate (void) |
void | SetBgndRate (const float r) |
float | GetRelPrec (void) |
float | CalcRelPrec (void) |
void | SetRelPrec (const float r) |
float | GetEstimatedPeakCounts (float rp) |
float | GetChargingEnergy (void) const |
float | GetEnergy (bool WithCharging=false) |
xpPeakPanel * | GetPanel (void) const |
float | GetPostPeakSlope (void) const |
float | GetShirleyTailHeight (void) const |
float | GetAngleRatio (void) const |
bool | IsCarbon1sPeak (void) |
bool | IsPeakInRangeBE (const float BELow, const float BEHigh) |
bool | IsPeakInRangeKE (const float KELow, const float KEHigh) |
void | SetCarbon1sPeak (const xboolean::xbool B) |
void | SetEnergy (const float E, bool WithCharging=false) |
void | SetPanel (xpPeakPanel *PP) |
void | SetPostPeakSlope (const float PPS) |
void | SetShirleyTailHeight (const float STH) |
void | SetAngleRatio (const float AR) |
Protected Attributes | |
float | Energy |
float | PostPeakSlope |
float | ShirleyTailHeight |
float | AngleRatio |
float | meastime |
float | sensitivity |
float | concentration |
float | concentrationUncertainty |
float | peakcounts |
float | bgndcounts |
float | peakrate |
float | bgndrate |
float | relprec |
xboolean::xbool | Carbon1sPeak |
xpPeakPanel * | m_peakpanel |
It implements the generic behaviour of spectrum peaks.
|
Constructor. Sets the numeric parameters to 0.
|
|
Copy constructor. Copies parameters of C to this peak.
|
|
Calculate relative precision of the peak intensity measurement
|
|
Return xpSpectrumBase::AngleRatio
|
|
Return counts in the background under the peak
|
|
Return bgnd rate of the peak
|
|
Return xpPeakBase::Carbon1sPeak
|
|
Return xpSpectrumBase::GetChargingEnergy
|
|
Return concentration
|
|
Return concentration
|
|
Returns the energy of the peak, by default without charging shift. If WithCharging is true, the returned value is corrected with the charging shift. If the energy type of the and its parent spectrum is different, the charging shift is negated. Otherwise, no energy type checking is made.
|
|
Calculate new peak count to match the requested precision; internal use only. Calculate a nex approximation to the peak counts according to formula
where
|
|
Return measurement time
|
|
Returns the panel where this peak is displayed
|
|
Return counts in the peak
|
|
Return count rate of the peak
|
|
Return xpSpectrumBase::PostPeakSlope.
|
|
Return rate, corresponding to counts and time
|
|
Return relative precision of the peak intensity measurement
|
|
Return sensitivity
|
|
Return xpSpectrumBase::ShirleyTailHeight
|
|
Return True if the peak is Carbon 1s peak
|
|
Returns 'true' if peak energy is between the binding energy values BELow and BEHigh, 'false' otherwise. The peak energy is transformed to BE scale if necessary.
|
|
Returns 'true' if peak energy is between the kinetic energy values KELow and KEHigh, 'false' otherwise. The peak energy is transformed to KE scale if necessary.
|
|
Set xpSpectrumBase::AngleRatio Sets the AngleRatio parameter
|
|
Set counts in the background under the peak
|
|
Set counting rate of the background under the peak
|
|
Set xpSpectrumBase::Carbon1sPeak
|
|
Set concentration
|
|
Set concentration
|
|
Set xpPeakBase::Energy from E. If WithCharging is true, the returned value is corrected with the charging shift ChargingEnergy. If the energy type of the peak and that of its parent spectrum are different, the charging shift ChargingEnergy is negated. Otherwise, no energy type checking is made.
|
|
Set measurement time
|
|
Sets the panel where this peak is displayed
|
|
Set counts in the peak
|
|
Set counting rate of the peak
|
|
Set xpPeakBase::PostPeakSlope. Sets the Post Peak Slope parameter.
|
|
Set relative precision of measung the the peak. Calculates new xpPeakBase::peakcounts to match the requested relative precision
|
|
Set sensitivity
|
|
Set xpSpectrumBase::ShirleyTailHeight Sets the Shirley Tail Height parameter
|
|
The intensity ratio seen at different angles.
|
|
bgnd counts
|
|
bgnd count rate
|
|
If the peak is Carbon 1s peak: True, False or Unknown.
|
|
Concentration of element.
|
|
Concentration uncertainty of element.
|
|
The energy parameter of the peak.
|
|
The panel where this peak is shown.
|
|
Meas time, in secs.
|
|
peak couns
|
|
peak count rate
|
|
The value of the post peak slope.
|
|
relative precision of the measurement
|
|
Sensitivity of peak detection.
|
|
The value of the Shirley tail height.
|