lib.MapMaking.ComponentMapMaking.Qchi2MM module
- class lib.MapMaking.ComponentMapMaking.Qchi2MM.AbstractChi2(preset, TOD_sim, layout=None, beta_map=None)[source]
Bases:
ABCCommon base class for chi2-like objects. Subclasses must implement compute_mixing_matrix(x) and, if needed, compute_chi_square(x). A helper compute_qubic_chi(A) is provided because both original classes shared that logic.
Methods
__call__(x)Call self as a function.
Return mixing matrix A with shape (nfreq, ncomp).
Shared computation of the QUBIC time-domain chi^2 given mixing matrix A.
compute_qubic_chi_varying_beta
- abstract compute_mixing_matrix(x)[source]
Return mixing matrix A with shape (nfreq, ncomp).
- Return type:
ndarray
- class lib.MapMaking.ComponentMapMaking.Qchi2MM.Chi2(preset, TOD_sim, parametric=True, beta_map=None)[source]
Bases:
AbstractChi2Methods
__call__(x)Call self as a function.
Return mixing matrix A with shape (nfreq, ncomp).
Blind case
compute_mixing_matrix_parametric(nus, x)Parametric case
compute_qubic_chi(A)Shared computation of the QUBIC time-domain chi^2 given mixing matrix A.
compute_chi_square
compute_chi_square_fix_beta
compute_chi_square_varying_beta
compute_qubic_chi_varying_beta
- class lib.MapMaking.ComponentMapMaking.Qchi2MM.MixedChi2(preset, TOD_sim, layout)[source]
Bases:
AbstractChi2Methods
__call__(x)Call self as a function.
Return mixing matrix A with shape (nfreq, ncomp).
compute_qubic_chi(A)Shared computation of the QUBIC time-domain chi^2 given mixing matrix A.
unpack(x)compute_qubic_chi_varying_beta