template_bank_generator_HM.TemplateBank.get_waveform_conditioning#
Back to Class page
Summary#
Useful function to get conditioning parameters for whitened waveforms
Signature#
def get_waveform_conditioning(fftsize, dt, whitened_wf_fd)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
Number of time-domain indices |
||
|
Time domain step size (s) |
||
|
len(rfftfreq(fftsize)) array with FD whitened waveform IMP note: The wf should be linear free. |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
|
Docstring#
Useful function to get conditioning parameters for whitened waveforms
:param fftsize: Number of time-domain indices
:param dt: Time domain step size (s)
:param whitened_wf_fd:
len(rfftfreq(fftsize)) array with FD whitened waveform
IMP note: The wf should be linear free.
:return: 1. Support of waveform in units of indices
2. Shift to put waveform with weight toward the right side
3. Normalization factor