ProteoWizard
|
resamples spectrum, apply smoothing, determines zero crossings, integrates peaks. More...
#include <peakpickerqtof.hpp>
Public Types | |
typedef TReal | value_type |
typedef TIntegrator< value_type > | PeakIntegrator |
Public Member Functions | |
PeakPicker (TReal resolution, std::pair< TReal, TReal > &massrange, TReal width=2., TReal intwidth=2., TReal intensitythreshold=10., bool area=true, uint32_t maxnumberofpeaks=0, double c2d=1e-5) | |
template<typename Tmass , typename Tintensity > | |
void | operator() (Tmass begmz, Tmass endmz, Tintensity begint) |
TReal | getNToppeaks () |
get min instensity of peak to qualify for max-intensity; More... | |
void | filter (TReal threshold) |
clean the masses using the threshold More... | |
const std::vector< TReal > & | getPeakMass () |
const std::vector< TReal > & | getPeakArea () |
const std::vector< TReal > & | getResampledMZ () |
const std::vector< TReal > & | getResampledIntensity () |
const std::vector< TReal > & | getSmoothedIntensity () |
Public Attributes | |
TReal | resolution_ |
ralab::base::resample::Convert2Dense | c2d_ |
std::vector< TReal > | resampledmz_ |
std::vector< TReal > | resampledintensity_ |
std::vector< TReal > | filter_ |
std::vector< TReal > | zerocross_ |
std::vector< TReal > | smoothedintensity_ |
std::vector< TReal > | peakmass_ |
std::vector< TReal > | peakarea_ |
TReal | smoothwith_ |
TReal | integrationWidth_ |
ralab::base::ms::SimplePicker< TReal > | simplepicker_ |
ralab::base::resample::SamplingWith | sw_ |
PeakIntegrator | integrator_ |
TReal | intensitythreshold_ |
bool | area_ |
uint32_t | maxnumbersofpeaks_ |
resamples spectrum, apply smoothing, determines zero crossings, integrates peaks.
Definition at line 159 of file peakpickerqtof.hpp.
typedef TReal ralab::base::ms::PeakPicker< TReal, TIntegrator >::value_type |
Definition at line 160 of file peakpickerqtof.hpp.
typedef TIntegrator<value_type> ralab::base::ms::PeakPicker< TReal, TIntegrator >::PeakIntegrator |
Definition at line 161 of file peakpickerqtof.hpp.
|
inline |
resolution | instrument resolution |
massrange | mass range of spectrum |
width | smooth width |
intwidth | integration width used for area compuation |
area | compute area or height? default - height. |
maxnumberofpeaks | maximum of peaks returned by picker |
c2d | instrument resampling with small default dissables automatic determination |
Definition at line 177 of file peakpickerqtof.hpp.
References ralab::base::resample::Convert2Dense::defBreak(), ralab::base::filter::getGaussianFilterQuantile(), ralab::base::resample::Convert2Dense::getMids(), and ralab::base::resample::resolution2ppm().
|
inline |
Definition at line 196 of file peakpickerqtof.hpp.
References ralab::base::resample::Convert2Dense::am_, ralab::base::resample::Convert2Dense::convert2dense(), ralab::base::filter::filter(), ralab::base::base::interpolate_cubic(), and ralab::base::base::interpolate_linear().
|
inline |
get min instensity of peak to qualify for max-intensity;
Definition at line 246 of file peakpickerqtof.hpp.
|
inline |
clean the masses using the threshold
Definition at line 259 of file peakpickerqtof.hpp.
References ralab::base::utils::copy_if().
|
inline |
Definition at line 269 of file peakpickerqtof.hpp.
|
inline |
Definition at line 273 of file peakpickerqtof.hpp.
|
inline |
Definition at line 277 of file peakpickerqtof.hpp.
|
inline |
Definition at line 281 of file peakpickerqtof.hpp.
|
inline |
Definition at line 285 of file peakpickerqtof.hpp.
TReal ralab::base::ms::PeakPicker< TReal, TIntegrator >::resolution_ |
Definition at line 163 of file peakpickerqtof.hpp.
ralab::base::resample::Convert2Dense ralab::base::ms::PeakPicker< TReal, TIntegrator >::c2d_ |
Definition at line 164 of file peakpickerqtof.hpp.
std::vector<TReal> ralab::base::ms::PeakPicker< TReal, TIntegrator >::resampledmz_ |
Definition at line 165 of file peakpickerqtof.hpp.
std::vector<TReal> ralab::base::ms::PeakPicker< TReal, TIntegrator >::resampledintensity_ |
Definition at line 165 of file peakpickerqtof.hpp.
std::vector<TReal> ralab::base::ms::PeakPicker< TReal, TIntegrator >::filter_ |
Definition at line 166 of file peakpickerqtof.hpp.
std::vector<TReal> ralab::base::ms::PeakPicker< TReal, TIntegrator >::zerocross_ |
Definition at line 166 of file peakpickerqtof.hpp.
std::vector<TReal> ralab::base::ms::PeakPicker< TReal, TIntegrator >::smoothedintensity_ |
Definition at line 166 of file peakpickerqtof.hpp.
std::vector<TReal> ralab::base::ms::PeakPicker< TReal, TIntegrator >::peakmass_ |
Definition at line 167 of file peakpickerqtof.hpp.
std::vector<TReal> ralab::base::ms::PeakPicker< TReal, TIntegrator >::peakarea_ |
Definition at line 167 of file peakpickerqtof.hpp.
TReal ralab::base::ms::PeakPicker< TReal, TIntegrator >::smoothwith_ |
Definition at line 168 of file peakpickerqtof.hpp.
TReal ralab::base::ms::PeakPicker< TReal, TIntegrator >::integrationWidth_ |
Definition at line 169 of file peakpickerqtof.hpp.
ralab::base::ms::SimplePicker<TReal> ralab::base::ms::PeakPicker< TReal, TIntegrator >::simplepicker_ |
Definition at line 170 of file peakpickerqtof.hpp.
ralab::base::resample::SamplingWith ralab::base::ms::PeakPicker< TReal, TIntegrator >::sw_ |
Definition at line 171 of file peakpickerqtof.hpp.
PeakIntegrator ralab::base::ms::PeakPicker< TReal, TIntegrator >::integrator_ |
Definition at line 172 of file peakpickerqtof.hpp.
TReal ralab::base::ms::PeakPicker< TReal, TIntegrator >::intensitythreshold_ |
Definition at line 173 of file peakpickerqtof.hpp.
bool ralab::base::ms::PeakPicker< TReal, TIntegrator >::area_ |
Definition at line 174 of file peakpickerqtof.hpp.
uint32_t ralab::base::ms::PeakPicker< TReal, TIntegrator >::maxnumbersofpeaks_ |
Definition at line 175 of file peakpickerqtof.hpp.