try to detect complementary ions and assign maximum intensity of both elements
More...
#include <filtercomplementionenhancer.h>
try to detect complementary ions and assign maximum intensity of both elements
experimental filter
Definition at line 63 of file filtercomplementionenhancer.h.
◆ FilterComplementIonEnhancer() [1/3]
FilterComplementIonEnhancer::FilterComplementIonEnhancer |
( |
double |
target_mz, |
|
|
PrecisionPtr |
precision_ptr |
|
) |
| |
◆ FilterComplementIonEnhancer() [2/3]
- Parameters
-
qmass_spectrum | qualified mass spectrum to compute the targeted mass of the peak pair |
precision_ptr | matching precision |
Definition at line 44 of file filtercomplementionenhancer.cpp.
◆ FilterComplementIonEnhancer() [3/3]
◆ ~FilterComplementIonEnhancer()
FilterComplementIonEnhancer::~FilterComplementIonEnhancer |
( |
| ) |
|
|
virtual |
◆ enhanceComplementMassInRange()
void pappso::FilterComplementIonEnhancer::enhanceComplementMassInRange |
( |
double |
new_intensity, |
|
|
double |
mz_lower_bound, |
|
|
double |
mz_upper_bound, |
|
|
std::vector< DataPoint >::iterator |
it_begin, |
|
|
std::vector< DataPoint >::iterator |
it_end |
|
) |
| const |
|
private |
Definition at line 86 of file filtercomplementionenhancer.cpp.
93 for(std::vector<DataPoint>::iterator it = it_begin; it != it_end; it++)
95 if((it->x >= mz_lower_bound) && (it->x <= mz_upper_bound))
97 if(it->y < new_intensity)
99 it->y = new_intensity;
◆ filter()
◆ m_precisionPtr
PrecisionPtr pappso::FilterComplementIonEnhancer::m_precisionPtr |
|
private |
◆ m_targetMzSum
double pappso::FilterComplementIonEnhancer::m_targetMzSum |
|
private |
The documentation for this class was generated from the following files: