pyms.TopHat
¶
Top-hat baseline corrector.
Functions:
|
Top-hat baseline correction on Ion Chromatogram. |
|
Top-hat baseline correction on Intensity Matrix. |
-
tophat
(ic, struct=None)[source]¶ Top-hat baseline correction on Ion Chromatogram.
- Parameters:
- Return type:
- Returns:
Top-hat corrected ion chromatogram.
- Authors:
Woon Wai Keen, Vladimir Likic, Dominic Davis-Foster (type assertions)
-
tophat_im
(im, struct=None)[source]¶ Top-hat baseline correction on Intensity Matrix.
Wraps around the TopHat function above.
- Parameters:
im (
BaseIntensityMatrix
) – The input Intensity Matrix.struct (
Optional
[str
]) – Top-hat structural element as time string. The structural element needs to be larger than the features one wants to retain in the spectrum after the top-hat transform. DefaultNone
.
- Return type:
- Returns:
Top-hat corrected IntensityMatrix Matrix
- Author:
Sean O’Callaghan