pygwb.notch.comb
- pygwb.notch.comb(f0, f_spacing, n_harmonics, df, description=None)[source]
Create a list of comb lines to remove with the form ‘f0+n*f_spacing, n=0,1,…,n_harmonics-1’.
- Parameters:
f0 (
float
) – Fundamental frequency of the comb.f_spacing (
float
) – Spacing between two subsequent harmonics.n_harmonics (
float
) – Number of harmonics (should include all harmonics within studied frequency range of the study).df (
float
) – Width of the comb-lines.description (
str
, optional) – Additional description, e.g. known source of the comb.
- Returns:
- notches:
StochNotchList
StochNotchList object of lines to be notched.
- notches: