gw.transforms.waveform_transforms.MaskDataForFrequencyRangeUpdate

gw.transforms.waveform_transforms.MaskDataForFrequencyRangeUpdate(
    domain,
    minimum_frequency=None,
    maximum_frequency=None,
    print_output=False,
)

Set waveform to zero and ASD to one according to minimum_frequency and maximum_frequency.

Parameters

Name Type Description Default
minimum_frequency Optional[float | dict[str, float]] Update of f_min. If a float, the same value will be used for all detectors. None
maximum_frequency Optional[float | dict[str, float]] Update of f_max. If a float, the same value will be used for all detectors. None
print_output bool Whether to write print statements to the console. False

Attributes

Name Description
maximum_frequency
minimum_frequency
sample_frequencies