scatter_removal¶
- pyeem.preprocessing.corrections.scatter_removal(eem_df, band='both', order='both', excision_width=20, fill='interp', truncate=None)¶
Removal of Rayleigh and Raman scatter by excising values in the areas where scatter is expected and replacing the excised values with a user-selectable value. This function is based on the following publication: Zepp et al., Dissolved organic fluorophores in southeastern US coastal waters: correction method for eliminating Rayleigh and Raman scattering peaks in excitation–emission matrices. Marine Chemistry. 2004
- Parameters
eem_df (pandas.DataFrame) – Excitation Emission Matrix of a sample.
band (str, optional) – The scatter band (Rayleigh/Raman) to be removed. Defaults to “both”.
order (str, optional) – The scatter band order (first/second) to be removed. Defaults to “both”.
excision_width (int, optional) – The width of excision that each band will be removed with. Defaults to 20.
fill (str, optional) – The values which will fill the excised scatter region. Defaults to “interp”.
truncate (str, optional) – The option to remove all values above and/or below the excised bands. Defaults to None.
- Returns
Excitation Emission Matrix with Rayleigh/Raman scatter bands removed.
- Return type
pandas.DataFrame