vallenae.features.is_above_threshold

vallenae.features.is_above_threshold(data, threshold)[source]

Checks if absolute amplitudes are above threshold.

Parameters
  • data (ndarray) – Input array

  • threshold (float) – Threshold amplitude

Return type

bool

Returns

True if input array is above threshold, otherwise False