Skip to content
Snippets Groups Projects
Commit ee77614c authored by Olivier Langella's avatar Olivier Langella
Browse files

remove peaks intensity under static threshold of 1

parent d8034be5
Branches
Tags
No related merge requests found
......@@ -232,7 +232,7 @@ Spectrum XtandemSpectrumProcess::process (const Spectrum & spectrum, mz parent_i
}
//3) remove low masses
//4) normalization
spectrum_process = spectrum_process.removeMzUnder(_minimum_mz).takeNmostIntense(_nmost_intense).applyDynamicRange(_dynamic_range).removeIntensityPercentUnder(0.01);
spectrum_process = spectrum_process.removeMzUnder(_minimum_mz).takeNmostIntense(_nmost_intense).applyDynamicRange(_dynamic_range).removeIntensityUnder(1);
//5) remove neutral loss
if (_exclude_parent_neutral_loss) {
pappso_double parent_ion_mhplus= ((parent_ion_mz - (MHPLUS*parent_charge))*parent_charge)+MHPLUS ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment