cogwheel.data.fill_hole_consecutive¶
- cogwheel.data.fill_hole_consecutive(data, leftind, rightind, wt_filter_fd)¶
Inpaint time-domain data on a consecutive stretch of time.
More efficient than
fill_hole_bruteforce, but restricted to only one hole.- Parameters:
- datafloat array
Time-domain strain data.
- leftind, rightindint
Left and right index of hole.
- wt_filter_fdfloat array
Frequency domain whitening filter. Lives in the space of rfft(len(data), dt).
- Returns:
- float array of size len(data) with time-domain filled data.
See also