ProteoWizard
|
#include <convert2dense.hpp>
Public Member Functions | |
Convert2Dense (double am=0.1) | |
std::size_t | defBreak (std::pair< double, double > &mzrange, double ppm) |
computes split points of an map. More... | |
template<typename Tmass , typename Tintens , typename Tout > | |
void | convert2dense (Tmass beginMass, Tmass endMass, Tintens intens, Tout ass) |
Converts a sparse spec to a dense spec. More... | |
void | getMids (std::vector< double > &mids) |
template<typename Tmass , typename Tintens > | |
void | convert2dense (Tmass beginMass, Tmass endMass, Tintens intens, std::vector< typename std::iterator_traits< Tintens >::value_type > &gg) |
Converts a sparse spec to a dense spec. More... | |
Public Attributes | |
ralab::base::resample::Bin1D | bin_ |
std::vector< int32_t > | idx_ |
std::vector< double > | weight_ |
double | am_ |
Definition at line 42 of file convert2dense.hpp.
|
inline |
Definition at line 48 of file convert2dense.hpp.
|
inline |
computes split points of an map.
Definition at line 52 of file convert2dense.hpp.
References ralab::base::resample::breaks(), ralab::base::resample::Bin1D::breaks_, and ralab::base::resample::Bin1D::reset().
Referenced by ralab::base::ms::PeakPicker< TReal, TIntegrator >::PeakPicker().
|
inline |
Converts a sparse spec to a dense spec.
Definition at line 61 of file convert2dense.hpp.
References bin_, and ralab::base::resample::Bin1D::breaks_.
Referenced by convert2dense(), and ralab::base::ms::PeakPicker< TReal, TIntegrator >::operator()().
|
inline |
Definition at line 102 of file convert2dense.hpp.
References ralab::base::resample::Bin1D::breaks_, and ralab::base::resample::getMids().
Referenced by ralab::base::ms::PeakPicker< TReal, TIntegrator >::PeakPicker().
|
inline |
Converts a sparse spec to a dense spec.
Definition at line 109 of file convert2dense.hpp.
References ralab::base::resample::Bin1D::breaks_, and convert2dense().
ralab::base::resample::Bin1D ralab::base::resample::Convert2Dense::bin_ |
Definition at line 44 of file convert2dense.hpp.
Referenced by convert2dense().
std::vector<int32_t> ralab::base::resample::Convert2Dense::idx_ |
Definition at line 45 of file convert2dense.hpp.
std::vector<double> ralab::base::resample::Convert2Dense::weight_ |
Definition at line 46 of file convert2dense.hpp.
double ralab::base::resample::Convert2Dense::am_ |
Definition at line 47 of file convert2dense.hpp.
Referenced by ralab::base::ms::PeakPicker< TReal, TIntegrator >::operator()().