libpappsomspp
Library for mass spectrometry
|
Go to the documentation of this file.
29 unsigned int smoothing_half_window_length,
32 : m_xicFilterSmoothing(smoothing_half_window_length)
39 : m_xicFilterSmoothing(other.m_xicFilterSmoothing)
90 Trace xic_smoothed(xic);
96 unsigned int nb_tic_start(0);
98 std::vector<DataPoint>::const_iterator it_smoothed;
99 std::vector<DataPoint>::const_iterator it, it_begin;
103 for(it_smoothed = xic_smoothed.begin(), it = xic.begin();
104 it_smoothed != xic_smoothed.end();
108 if((nb_tic_start == 0) && (it_begin != xic.end()) && (banked ==
false))
112 it_begin = xic.end();
118 if(it_begin == xic.end())
125 if((nb_tic_start == 2) && (banked ==
false))
136 if(it_begin != xic.end())
double pappso_double
A type definition for doubles.
void setTicStart(double tic_start)
void setTicStop(double tic_stop)
FilterMorphoMean m_xicFilterSmoothing
tries to keep as much as possible monoisotopes, removing any possible C13 peaks
virtual Trace & filter(Trace &data_points) const override
void setFilterMorphoMean(const FilterMorphoMean &smooth)
void detect(const Trace &xic, TraceDetectionSinkInterface &sink) const override
virtual void setTracePeak(TracePeak &xic_peak)=0
A simple container of DataPoint instances.
pappso_double getTicStart() const
virtual ~TraceDetectionMoulon()
unsigned int getSmoothingHalfEdgeWindows() const
mean filter apply mean of y values inside the window : this results in a kind of smoothing
pappso_double getTicStop() const
TraceDetectionMoulon(unsigned int smoothing_half_window_length, pappso_double tic_start, pappso_double tic_stop)
std::size_t getMeanHalfEdgeWindows() const