libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
pappso::LocalSignalToNoiseEstimator::Parameters Struct Reference

#include <localsignaltonoiseestimator.h>

Public Member Functions

 Parameters ()
 Parameters (double max_intensity, double max_int_std_dev_factor, double max_int_percentile, int max_int_mode, double window_size, int bin_count, int min_required_elements, double noise_value_for_empty_window)
 Parameters (const Parameters &other)

Public Attributes

double maxIntensity = -1
double maxIntStdDevFactor = 3
double maxIntPercentile = 95
int maxIntMode = IntensityThresholdCalculation::AUTO_MAX_BY_STDEV
double windowSize = 200
int binCount = 30
int minRequiredElements = 10
double noiseValueForEmptyWindow = std::pow(10.0, 20)

Detailed Description

Definition at line 37 of file localsignaltonoiseestimator.h.

Constructor & Destructor Documentation

◆ Parameters() [1/3]

pappso::LocalSignalToNoiseEstimator::Parameters::Parameters ( )
inline

Definition at line 70 of file localsignaltonoiseestimator.h.

70{};

Referenced by Parameters().

◆ Parameters() [2/3]

pappso::LocalSignalToNoiseEstimator::Parameters::Parameters ( double max_intensity,
double max_int_std_dev_factor,
double max_int_percentile,
int max_int_mode,
double window_size,
int bin_count,
int min_required_elements,
double noise_value_for_empty_window )
inline

Definition at line 71 of file localsignaltonoiseestimator.h.

References binCount, maxIntensity, maxIntMode, maxIntPercentile, maxIntStdDevFactor, minRequiredElements, noiseValueForEmptyWindow, and windowSize.

◆ Parameters() [3/3]

pappso::LocalSignalToNoiseEstimator::Parameters::Parameters ( const Parameters & other)
inline

Definition at line 90 of file localsignaltonoiseestimator.h.

91 {
92 maxIntensity = other.maxIntensity;
93 maxIntStdDevFactor = other.maxIntStdDevFactor;
94 maxIntPercentile = other.maxIntPercentile;
95 maxIntMode = other.maxIntMode;
96 windowSize = other.windowSize;
97 binCount = other.binCount;
98 minRequiredElements = other.minRequiredElements;
99 noiseValueForEmptyWindow = other.noiseValueForEmptyWindow;
100 }

References Parameters(), binCount, maxIntensity, maxIntMode, maxIntPercentile, maxIntStdDevFactor, minRequiredElements, noiseValueForEmptyWindow, and windowSize.

Member Data Documentation

◆ binCount

int pappso::LocalSignalToNoiseEstimator::Parameters::binCount = 30

Definition at line 60 of file localsignaltonoiseestimator.h.

Referenced by Parameters(), and Parameters().

◆ maxIntensity

double pappso::LocalSignalToNoiseEstimator::Parameters::maxIntensity = -1

Definition at line 42 of file localsignaltonoiseestimator.h.

Referenced by Parameters(), and Parameters().

◆ maxIntMode

int pappso::LocalSignalToNoiseEstimator::Parameters::maxIntMode = IntensityThresholdCalculation::AUTO_MAX_BY_STDEV

Definition at line 54 of file localsignaltonoiseestimator.h.

Referenced by Parameters(), and Parameters().

◆ maxIntPercentile

double pappso::LocalSignalToNoiseEstimator::Parameters::maxIntPercentile = 95

Definition at line 50 of file localsignaltonoiseestimator.h.

Referenced by Parameters(), and Parameters().

◆ maxIntStdDevFactor

double pappso::LocalSignalToNoiseEstimator::Parameters::maxIntStdDevFactor = 3

Definition at line 46 of file localsignaltonoiseestimator.h.

Referenced by Parameters(), and Parameters().

◆ minRequiredElements

int pappso::LocalSignalToNoiseEstimator::Parameters::minRequiredElements = 10

Definition at line 63 of file localsignaltonoiseestimator.h.

Referenced by Parameters(), and Parameters().

◆ noiseValueForEmptyWindow

double pappso::LocalSignalToNoiseEstimator::Parameters::noiseValueForEmptyWindow = std::pow(10.0, 20)

Definition at line 68 of file localsignaltonoiseestimator.h.

Referenced by Parameters(), and Parameters().

◆ windowSize

double pappso::LocalSignalToNoiseEstimator::Parameters::windowSize = 200

Definition at line 57 of file localsignaltonoiseestimator.h.

Referenced by Parameters(), and Parameters().


The documentation for this struct was generated from the following file: