create_routine

pyeem.preprocessing.create_routine(crop=False, fill_missing_values=False, discrete_wavelengths=False, gaussian_smoothing=False, blank_subtraction=False, inner_filter_effect=False, raman_normalization=False, scatter_removal=False, dilution=False)

Create the preprocessing routine for correcting and filtering the data.

Parameters
  • crop (bool, optional) – Determines whether or not to include crop() in the routine. Defaults to False.

  • fill_missing_values (bool, optional) – Determines whether or not to include fill_missing_values() in the routine. Defaults to False.

  • discrete_wavelengths (bool, optional) – Determines whether or not to include filter_wavelengths() in the routine. Defaults to False.

  • gaussian_smoothing (bool, optional) – Determines whether or not to include gaussian_smoothing() in the routine. Defaults to False.

  • blank_subtraction (bool, optional) – Determines whether or not to include blank_subtraction() in the routine. Defaults to False.

  • inner_filter_effect (bool, optional) – Determines whether or not to include inner_filter_effect() in the routine. Defaults to False.

  • raman_normalization (bool, optional) – Determines whether or not to include raman_normalization() in the routine. Defaults to False.

  • scatter_removal (bool, optional) – Determines whether or not to include scatter_removal() in the routine. Defaults to False.

  • dilution (bool, optional) – Determines whether or not to include dilution() in the routine. Defaults to False.

Returns

A table containing the steps of the preprocessing routine in the order which they will be executed by pyeem.preprocessing.perform_routine().

Return type

pandas.DataFrame