59 begin_right_padding_(0)
67 inline const std::vector<Peak1D> &
getSignal()
const
79 inline void setSignal(
const std::vector<Peak1D> & signal)
97 inline void setWavelet(
const std::vector<double> & wavelet)
141 return end_left_padding_;
147 return end_left_padding_;
153 end_left_padding_ = end_left_padding;
159 return begin_right_padding_;
165 return begin_right_padding_;
171 begin_right_padding_ = begin_right_padding;
177 return signal_length_;
183 return signal_length_;
189 signal_length_ = signal_length;
195 return (
int) signal_.size();
201 virtual void init(
double scale,
double spacing);
207 return signal_[i].getIntensity();
212 return signal_[i].getIntensity();
233 template <
typename InputPeakIterator>
237 double left_position = it_left->getMZ();
238 double right_position = (it_left + 1)->getMZ();
239 double d = (x - left_position) / (right_position - left_position);
241 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:134
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48