data_operations.band_eraser#
Back to Module page
Summary#
Detects bandlimited excess power transients
Signature#
def band_eraser(strain_down, strain_wt_down, qmask_down, valid_mask, dt_down, notch_pars)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
Raw strain data, modifies in place (bands with high-power cells will be removed) |
||
|
Modifies in place |
||
|
Boolean mask with zeros at holes in unwhitened data |
||
|
Boolean mask with zeros where we cannot trust whitened data |
||
|
Time interval between successive elements of data (s) |
||
|
Parameters for notching loud lines from the strain |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
mask_stft: Mask with excess power bands removed |
Docstring#
Detects bandlimited excess power transients
:param strain_down: Raw strain data, modifies in place
(bands with high-power cells will be removed)
:param strain_wt_down: Modifies in place
:param qmask_down: Boolean mask with zeros at holes in unwhitened data
:param valid_mask:
Boolean mask with zeros where we cannot trust whitened data
:param dt_down: Time interval between successive elements of data (s)
:param notch_pars: Parameters for notching loud lines from the strain
:return: mask_stft: Mask with excess power bands removed