Chris7 / pyquant

Platform independent command line tool for analysis of mass spectrometry data.
https://chris7.github.io/pyquant/
MIT License
14 stars 6 forks source link

Fourier Transform based baseline subtraction #28

Closed Chris7 closed 6 years ago

Chris7 commented 6 years ago

This implements a fourier based baseline subtraction to findAllPeaks prior to peak identification via the baseline_subtraction keyword. The raw data is still used to fit the peak against, this only influences what peaks are chosen and subsequent filters (e.g. amplitude_filter is applied on this data instead of data that may have a very bad baseline).

It also deprecates the term baseline_correction from findAllPeaks and replaces it with fit_baseline, which is more accurate to what is happening.