62 std::vector<std::weak_ptr<DataPointInfo>>
z1_vect;
64 std::vector<std::weak_ptr<DataPointInfo>>
z2_vect;
100 virtual QString
name()
const override;
113 std::vector<FilterChargeDeconvolution::DataPointInfoSp> &points,
121 std::vector<FilterChargeDeconvolution::DataPointInfoSp> &points,
128 std::vector<FilterChargeDeconvolution::DataPointInfoSp> &data_points_info)
136 std::vector<FilterChargeDeconvolution::DataPointInfoSp> &data_points_info)
144 std::vector<FilterChargeDeconvolution::DataPointInfoSp> &data_points_info)
void addDataPointRefByExclusion(std::vector< FilterChargeDeconvolution::DataPointInfoSp > &points, FilterChargeDeconvolution::DataPointInfoSp &new_dpi) const
For each datapointInfo add the datapoint to the lists by their exclusion range.
void buildFilterFromString(const QString &strBuildParams) override
build this filter using a string
virtual QString name() const override
QString toString() const override
std::shared_ptr< DataPointInfo > DataPointInfoSp
void computeBestChargeOfDataPoint(std::vector< FilterChargeDeconvolution::DataPointInfoSp > &data_points_info) const
Compare both list (z1 and z2) and add the right level of charge.
FilterChargeDeconvolution(PrecisionPtr precision_ptr)
PrecisionPtr m_precisionPtrZ2
void transformToMonoChargedForAllDataPoint(std::vector< FilterChargeDeconvolution::DataPointInfoSp > &data_points_info) const
For eache datapointInfo with a charge = 2 transform the peak to a charge = 1 by multiplying the mz by...
void addDataPointToList(std::vector< FilterChargeDeconvolution::DataPointInfoSp > &points, DataPoint &data_point) const
Add each datapoint to a vector of structure describe above.
PrecisionPtr m_precisionPtrZ1
Trace & filter(Trace &data_points) const override
get all the datapoints and remove different isotope and add their intensity and change to charge = 1 ...
void computeIsotopeDeconvolution(std::vector< FilterChargeDeconvolution::DataPointInfoSp > &data_points_info) const
For eache datapointInfo whith no parent copy info in new vector with the intensity of the monoistipic...
Interface that allows to build filter objects from strings.
A simple container of DataPoint instances.
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
const PrecisionBase * PrecisionPtr
std::weak_ptr< DataPointInfo > parent
DataPoint new_mono_charge_data_point
std::pair< double, double > z1_range
std::vector< std::weak_ptr< DataPointInfo > > z2_vect
std::vector< std::weak_ptr< DataPointInfo > > z1_vect
std::pair< double, double > z2_range