coherent_score_mz_fast.marg_lk#
Back to Module page
Summary#
Computes likelihood marginalized over distance and orbital phase
Signature#
def marg_lk(zz, tt, gtype = 1, nsamp = None)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
nsamp x n_detector array with rows having complex overlaps for each detector |
||
|
nsamp x n_detector array with predicted overlaps in each detector for fiducial orbital phase and distance (upto an arbitrary scaling factor) |
||
|
1 |
passed to function to compute marginalization over distance and phase, determines which one to run |
|
|
None |
Pass to only sum over part of the arrays |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
nsamp array of likelihoods marginalized over the orbital phase, and distance if needed (always 1D) |
Docstring#
Computes likelihood marginalized over distance and orbital phase
:param zz:
nsamp x n_detector array with rows having complex overlaps for
each detector
:param tt: nsamp x n_detector array with predicted overlaps in each
detector for fiducial orbital phase and distance
(upto an arbitrary scaling factor)
:param gtype: passed to function to compute marginalization over distance
and phase, determines which one to run
:param nsamp: Pass to only sum over part of the arrays
:returns:
nsamp array of likelihoods marginalized over the orbital phase, and
distance if needed (always 1D)