33 begin_right_padding_(0)
41 inline const std::vector<Peak1D> &
getSignal()
const
53 inline void setSignal(
const std::vector<Peak1D> & signal)
71 inline void setWavelet(
const std::vector<double> & wavelet)
115 return end_left_padding_;
121 return end_left_padding_;
127 end_left_padding_ = end_left_padding;
133 return begin_right_padding_;
139 return begin_right_padding_;
145 begin_right_padding_ = begin_right_padding;
151 return signal_length_;
157 return signal_length_;
163 signal_length_ = signal_length;
169 return (
int) signal_.size();
175 virtual void init(
double scale,
double spacing);
181 return signal_[i].getIntensity();
186 return signal_[i].getIntensity();
207 template <
typename InputPeakIterator>
211 double left_position = it_left->getMZ();
212 double right_position = (it_left + 1)->getMZ();
213 double d = (x - left_position) / (right_position - left_position);
215 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:108
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22