cogwheel.likelihood.marginalization.base.MarginalizationInfoHM¶
- class cogwheel.likelihood.marginalization.base.MarginalizationInfoHM(qmc_sequence_id: int, ln_numerators: ndarray, q_inds: ndarray, sky_inds: ndarray, t_first_det: ndarray, d_h: ndarray, h_h: ndarray, tdet_inds: ndarray, proposals_n_qmc: list, proposals: list, o_inds: ndarray, flip_psi: ndarray)¶
Bases:
MarginalizationInfoLike MarginalizationInfo except:
it additionally contains
.o_inds.d_hhas dtype float, not complex.
- Attributes:
- o_indsint array of length n_important
Indices to the orbital phase.
- d_hfloat array of length n_important
Real inner product ⟨d|h⟩.
- flip_psiint array of length n_important
Whether to add pi/2 to psi.
Methods
Update entries of this instance of MarginalizationInfo to include information from another instance.
Attributes
o_indsflip_psiqmc_sequence_idln_numeratorsq_indssky_indst_first_detd_hh_htdet_indsproposals_n_qmcproposalsweightsweights_qn_qmcn_effectivelnl_marginalized- update(other)¶
Update entries of this instance of MarginalizationInfo to include information from another instance. The intended use is to extend the QMC sequence if it has too low
.n_effective.- Parameters:
- otherMarginalizationInfo
Typically self will be the first half of the extended QMC sequence and other would be the second half.