crop

pyeem.preprocessing.filters.crop(eem_df, crop_dims)

Crops an excitation-emission matrix to user-selectable dimensions.

Parameters
  • eem_df (pandas.DataFrame) – An excitation-emission matrix.

  • (dict of {str (crop_dims) – tuple of (int, float)}): A dictionary containing the upper and lower bounds for both the excitation and emission wavelengths for the EEM region that you would like to keep. These bounds are inclusive.

Returns

The cropped excitation-emission matrix.

Return type

pandas.DataFrame