Move automatically generated docs via mkdocs
to main
#19
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / Black
failed
Oct 9, 2023 in 0s
1 error
Black found 1 error
Annotations
Check failure on line 71 in D:\a\NGMT\NGMT\ngmt\utils\preprocessing.py
github-actions / Black
D:\a\NGMT\NGMT\ngmt\utils\preprocessing.py#L60-L71
)
return filtered_signal
-def calculate_envelope_activity(input_signal, smooth_window = 20, threshold_style = 1, duration = 20, plot_results = 1):
+def calculate_envelope_activity(
+ input_signal, smooth_window=20, threshold_style=1, duration=20, plot_results=1
+):
"""
Calculate envelope-based activity detection using the Hilbert transform.
This function analyzes an input signal `input_signal` to detect periods of activity based on the signal's envelope.
It calculates the analytical signal using the Hilbert transform, smoothes the envelope, and applies an
Loading