33 #include "../../massspectrum/massspectrum.h"
34 #include "../../peptide/peptide.h"
35 #include "../../processing/filters/filterpass.h"
36 #include "../../processing/filters/filterresample.h"
37 #include "../../processing/filters/filtertandemremovec13.h"
52 unsigned int parent_charge)
const;
54 void setNmostIntense(
unsigned int nmost_intense);
56 void setRemoveIsotope(
bool remove_isotope);
57 void setExcludeParent(
bool exclude_parent);
58 void setExcludeParentNeutralLoss(
bool neutral_loss);
61 void setRefineSpectrumModel(
bool refine);
62 void setIonScore(
PeptideIon ion_type,
bool compute_score);
65 unsigned int getNmostIntense()
const;
67 bool getRemoveIsotope()
const;
68 bool getExcludeParent()
const;
69 bool getExcludeParentNeutralLoss()
const;
72 bool getRefineSpectrumModel()
const;
86 bool m_isRemoveIsotope =
true;
87 bool m_isExcludeParent =
false;
90 bool m_isExcludeParent_neutral_loss =
false;
93 bool m_isRefineSpectrumModel =
true;
95 bool _ystar_ions =
false;
97 bool _bstar_ions =
false;
100 bool _a_ions =
false;
101 bool _x_ions =
false;
102 bool _astar_ions =
false;
103 bool _ao_ions =
false;
104 bool _bo_ions =
false;
105 bool _yo_ions =
false;
apply std::floor (round to lowest integer) to all Y values
keep N datapoints form the greatest intensities to the lowest
remove datapoints below a given Y value (intensity)
rescales Y values into a dynamic range if the dynamic range is set to 0, this filter is ignored
Deisotope the mass spectrum this mass spectrum is iterated over and according to a data point-based m...
Class to represent a mass spectrum.
FilterResampleKeepGreater m_filter_keep_greater
FilterFloorY m_filter_floor
FilterRescaleY m_filter_rescale
FilterGreatestY m_n_most_intense
FilterHighPass m_filter_highpass
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
PeptideIon
PeptideIon enum defines all types of ions (Nter or Cter)
double pappso_double
A type definition for doubles.
const pappso_double MASSH2O((MPROTIUM *2)+MASSOXYGEN)