Move automatically generated docs via mkdocs
to main
#19
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
1 error and 1 warning
D:\a\NGMT\NGMT\ngmt\utils\preprocessing.py#L60
)
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
|
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|