A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
Data processing for FIA-MS data.
Definition: FIAMSDataProcessor.h:62
std::vector< float > bin_sizes_
Definition: FIAMSDataProcessor.h:177
MSSpectrum mergeAlongTime(const std::vector< OpenMS::MSSpectrum > &input)
Sum the spectra with different retention times into one.
SavitzkyGolayFilter sgfilter_
Definition: FIAMSDataProcessor.h:178
void cutForTime(const MSExperiment &experiment, const float n_seconds, std::vector< MSSpectrum > &output)
Cut the time axis of the experiment from 0 to n_seconds.
MSSpectrum extractPeaks(const MSSpectrum &input)
Pick peaks from the summed spectrum.
PeakPickerHiRes picker_
Definition: FIAMSDataProcessor.h:179
MSSpectrum trackNoise(const MSSpectrum &input)
Estimate noise for each peak.
const std::vector< float > & getMZs()
Get mass-to-charge ratios to base the summing the spectra along the time axis upon.
void storeSpectrum_(const MSSpectrum &input, const String &filename)
Store the spectrum to the given filepath.
bool run(const MSExperiment &experiment, const float n_seconds, OpenMS::MzTab &output, const bool load_cached_spectrum=true)
Run the full analysis for the experiment for the given time interval.
~FIAMSDataProcessor() override=default
Default destructor.
FIAMSDataProcessor & operator=(const FIAMSDataProcessor &fdp)=default
Assignment.
void updateMembers_() override
This method is used to update extra member variables at the end of the setParameters() method.
FIAMSDataProcessor()
Constructor.
void runAccurateMassSearch(FeatureMap &input, OpenMS::MzTab &output)
Perform accurate mass search.
std::vector< float > mzs_
Definition: FIAMSDataProcessor.h:176
FIAMSDataProcessor(const FIAMSDataProcessor &cp)=default
Copy constructor.
const std::vector< float > & getBinSizes()
Get the sliding bin sizes for summing the spectra along the time axis.
FeatureMap convertToFeatureMap(const MSSpectrum &input)
Convert a spectrum to a feature map with the corresponding polarity.
A container for features.
Definition: FeatureMap.h:106
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:72
The representation of a 1D spectrum.
Definition: MSSpectrum.h:70
Data model of MzTab files. Please see the official MzTab specification at https://code....
Definition: MzTab.h:478
This class implements a fast peak-picking algorithm best suited for high resolution MS data (FT-ICR-M...
Definition: PeakPickerHiRes.h:84
Computes the Savitzky-Golay filter coefficients using QR decomposition.
Definition: SavitzkyGolayFilter.h:104
A more convenient string class.
Definition: String.h:60
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48