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)
Input variables#

Name

Type

Default

Description

calpha

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

fs_out

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

None

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]