gaussian_smoothing

pyeem.preprocessing.filters.gaussian_smoothing(eem_df, sigma, truncate)

Performs gaussian smooothing on the excitation-emission matrix from the input sigma and truncation sigma.

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

  • sig (int) – Sigma of the gaussian distribution weight for the data smoothing.

  • trun (int) – Truncate in ‘sigmas’ the gaussian distribution.

Returns

A guassian smoothed excitation-emission matrix.

Return type

pandas.DataFrame