template_bank_generator_HM.TemplateBank.wt_waveform_generator#
Back to Class page
Summary#
Generator that returns waveforms in bank and corresponding c_alphas
Signature#
def wt_waveform_generator(self, delta_calpha = 0.7, fudge = params.TEMPLATE_SAFETY, remove_nonphysical = True, force_zero = True, ncores = 1, coreidx = 0, orthogonalize = True, return_cov = False, random_order = False)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
0.7 |
Grid point distance in terms of basis coefficients |
|
|
params.TEMPLATE_SAFETY |
Safety factor to inflate the range of used values of each parameter |
|
|
True |
Flag indicating whether we want to keep only the gridpoints that are close to a physical waveform |
|
|
True |
Flag indicating whether we want to center the grid to get as much overlap as possible with the central region |
|
|
1 |
||
|
0 |
||
|
True |
Orthogonalizes the different mode wfs |
|
|
False |
Returns the covariance matrix between mode wfs |
|
|
False |
Flag indicating whether we want the waveforms in a random order |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
Generator that returns whitened frequency domain templates (lives on rfftfreq(fftsize, dt)) in units of 1/Hz, and coefficients of basis functions |
Docstring#
Generator that returns waveforms in bank and corresponding c_alphas
:param delta_calpha: Grid point distance in terms of basis coefficients
:param fudge:
Safety factor to inflate the range of used values of each parameter
:param remove_nonphysical:
Flag indicating whether we want to keep only the gridpoints that
are close to a physical waveform
:param force_zero:
Flag indicating whether we want to center the grid to get as much
overlap as possible with the central region
:param ncores:
:param coreidx:
:param orthogonalize: Orthogonalizes the different mode wfs
:param return_cov: Returns the covariance matrix between mode wfs
:param random_order: Flag indicating whether we want the waveforms in a
random order
:return: Generator that returns whitened frequency domain templates
(lives on rfftfreq(fftsize, dt)) in units of 1/Hz, and
coefficients of basis functions