template_bank_generator_HM.TemplateBank.gen_wfs_fd_from_calpha#
Back to Class page
Summary#
Generates waveforms from given coefficients Note: At fs_out <= min(fs_basis) or >= max(fs_basis), the output amplitudes are zero
Signature#
def gen_wfs_fd_from_calpha(self, calpha = None, fs_out = None, orthogonalize = False, return_cov = False, log = False)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
None |
n_wf x n_(basis elements needed) array with list of coefficients (can be a vector for n_wf = 1). Defaults to the central waveform |
|
|
None |
Array of output frequencies. None indicates fs_out = fs_basis |
|
|
False |
Only works when fs_out is self.fs_fft Note: better to orthogonalize wfs after whitening, rather than at this stage |
|
|
False |
||
|
False |
FLag to return the log of the waveform instead |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
n_wf x n_modes x len(fs_out) complex array with waveforms at fs_out (can be 2D for n_wf=1) |
Docstring#
Generates waveforms from given coefficients
Note: At fs_out <= min(fs_basis) or >= max(fs_basis), the output
amplitudes are zero
:param calpha:
n_wf x n_(basis elements needed) array with list of coefficients
(can be a vector for n_wf = 1). Defaults to the central waveform
:param fs_out:
Array of output frequencies. None indicates fs_out = fs_basis
:param orthogonalize: Only works when fs_out is self.fs_fft
Note: better to orthogonalize wfs after whitening, rather than at
this stage
:param log: FLag to return the log of the waveform instead
:return:
n_wf x n_modes x len(fs_out) complex array with waveforms at fs_out
(can be 2D for n_wf=1)