35 #ifndef OPENMS_TRANSFORMATIONS_RAW2PEAK_CONTINUOUSWAVELETTRANSFORM_H 36 #define OPENMS_TRANSFORMATIONS_RAW2PEAK_CONTINUOUSWAVELETTRANSFORM_H 60 begin_right_padding_(0)
68 inline const std::vector<Peak1D> &
getSignal()
const 80 inline void setSignal(
const std::vector<Peak1D> & signal)
98 inline void setWavelet(
const std::vector<double> & wavelet)
142 return end_left_padding_;
148 return end_left_padding_;
154 end_left_padding_ = end_left_padding;
160 return begin_right_padding_;
166 return begin_right_padding_;
172 begin_right_padding_ = begin_right_padding;
178 return signal_length_;
184 return signal_length_;
190 signal_length_ = signal_length;
196 return (
int) signal_.size();
202 virtual void init(
double scale,
double spacing);
208 return signal_[i].getIntensity();
213 return signal_[i].getIntensity();
234 template <
typename InputPeakIterator>
238 double left_position = it_left->getMZ();
239 double right_position = (it_left + 1)->getMZ();
240 double d = (x - left_position) / (right_position - left_position);
242 return (it_left + 1)->getIntensity() * d + it_left->getIntensity() * (1 - d);
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:135
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47