Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 29, 2024
1 parent 8465017 commit a0e526d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mne_icalabel/megnet/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ def _line_noise_channel(
Notes
-----
This function detects line noise by analyzing the PSD of each selected channel.
For each harmonic of `fline` (up to the Nyquist frequency),
it checks if the PSD at the harmonic frequency is significantly higher than the
PSD in neighboring frequencies. Specifically, it considers the PSD value at each harmonic
For each harmonic of `fline` (up to the Nyquist frequency),
it checks if the PSD at the harmonic frequency is significantly higher than the
PSD in neighboring frequencies. Specifically, it considers the PSD value at each harmonic
to indicate line noise if it exceeds the mean PSD of neighboring frequencies
plus `threshold_factor` times the standard deviation.
"""
Expand Down

0 comments on commit a0e526d

Please sign in to comment.