carat.features.halfWaveRectification¶
-
carat.features.
halfWaveRectification
(in_signal)[source]¶ Half-wave rectifies features.
All feature values below zero are assigned to zero.- Args:
- input: feature object
- delta_filter_length (int): length of the filter used to calculate the Delta coefficients. Must be an odd number.
- Returns:
- output: numpy array
- Raises:
- ValueError when the input features are complex.