template_bank_generator_HM.TemplateBank.gen_phases_from_calpha#
Back to Class page
Summary#
Generates phases of all modes from given coefficients
Signature#
def gen_phases_from_calpha(self, calpha = None, fs_out = None)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
None |
n_wf x n_(basis elements needed) array with list of coefficients (can be vector for n_wf = 1). Defaults to the central waveform |
|
|
None |
Array of output frequencies. None indicates fs_out = fs_basis Can also be iterable of arrays for different modes |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
if fs_out is same for all modes: n_wf x 3 x len(fs_out) real array with phases at fs_out else: n_wf x [len(f) in fs_out] |
Docstring#
Generates phases of all modes from given coefficients
:param calpha:
n_wf x n_(basis elements needed) array with list of coefficients
(can be vector for n_wf = 1). Defaults to the central waveform
:param fs_out:
Array of output frequencies. None indicates fs_out = fs_basis
Can also be iterable of arrays for different modes
:return:
if fs_out is same for all modes:
n_wf x 3 x len(fs_out) real array with phases at fs_out
else:
n_wf x [len(f) in fs_out]