data_operations.fill_holes_file#
Back to Module page
Summary#
Signature#
def fill_holes_file(data, qmask, qmask_prev, valid_mask, wt_filter_td, support_wt, erase_bands, band_erased)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
Array of len(data) with strain data |
||
|
Boolean mask of len(data) with zeros at holes in unwhitened data |
||
|
Boolean mask of len(data) with mask before previous instance of hole filling |
||
|
Boolean mask with zeros marking where we cannot trust whitened data |
||
|
Time domain whitening filter |
||
|
Time domain support of whitening filter (2 \* support_wt - 1 nonzero coeffs) |
||
|
Boolean flag indicating whether we are erasing bands |
||
|
Boolean flag indicating whether we have erased bands |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
Divides hole filling task into segments and passes to appropriate routines |
Docstring#
:param data: Array of len(data) with strain data
:param qmask:
Boolean mask of len(data) with zeros at holes in unwhitened data
:param qmask_prev:
Boolean mask of len(data) with mask before previous instance of hole
filling
:param valid_mask:
Boolean mask with zeros marking where we cannot trust whitened data
:param wt_filter_td: Time domain whitening filter
:param support_wt:
Time domain support of whitening filter (2 * support_wt - 1
nonzero coeffs)
:param erase_bands: Boolean flag indicating whether we are erasing bands
:param band_erased: Boolean flag indicating whether we have erased bands
:return: Divides hole filling task into segments and passes to appropriate
routines