Slope calculation
Main functions
- SignalCreation.Treatment.SlopeCalculation.profile_calculation(ON_channel, OFF_channel, filter_name, creation_mode, fcut=None, attenuation=None, **kwargs)
Compute profile of ON and OFF Ozone channels :param ON_channel: Signal ON channel :param OFF_channel: Signal OFF channel :param filter_name: Name of the derivative filter to use :param creation_mode: How to create the filter. Must be one of [‘copy’, ‘fixed number of points’, ‘number of points given in a csv’ , … ‘number of points calculated from a min and max value’] :param fcut: :param attenuation: :param kwargs: Depends on creation mode, see DerivativeFilter for further information :return:
- Parameters:
ON_channel (DataArray | ndarray)
OFF_channel (DataArray | ndarray)
filter_name (str)
creation_mode (str)
- SignalCreation.Treatment.SlopeCalculation.slope_calculation(signal, filter_name, creation_mode, fcut=None, attenuation=None, **kwargs)
- Parameters:
signal (DataArray | ndarray) – Signal to consider
filter_name (str) – Filter name
creation_mode (str) – Should be one of [‘copy’, ‘fixed number of points’,
‘number of points given in a csv’, ‘number of points calculated from a min and max value’, ‘no filter’ ,’dial poly’] :param fcut: cut function :param attenuation: Signal attenuation :param kwargs: Kwargs that can be added depending on creation_mode chosen. See Treatment/DerivativeFilter :return:
Test process
- SignalCreation.Treatment.SlopeCalculation.test_slope_calculation()