lib.Calibration.Qselfcal module

class lib.Calibration.Qselfcal.Model_Fringes_Maynooth(q, baseline, rep, theta_source=0.0, nu_source=150000000000.0, frame='ONAFP', interp=False)[source]

Bases: object

Methods

get_fringes([verbose])

Compute fringes on the focal plane from Maynooth simulations.

get_fringes_from_combination([...])

Compute fringes on the focal plane from Maynooth simulations doing the combination with S_tot, Cminus_i, Cminus_j, Sminus_ij, Ci and Cj. :type measured_comb: :param measured_comb: If True, returns the measured combination: S_tot - Cminus_i - Cminus_j + Sminus_ij. If False, returns the complete combination: S_tot - Cminus_i - Cminus_j + Sminus_ij + Ci + Cj. :type measured_comb: bool :type verbose: :param verbose: :type verbose: bool.

get_fringes(verbose=True)[source]

Compute fringes on the focal plane from Maynooth simulations. :rtype: x, y coordinates on the FP in the ONAFP frame and the corresponding power.

get_fringes_from_combination(measured_comb=True, verbose=True)[source]

Compute fringes on the focal plane from Maynooth simulations doing the combination with S_tot, Cminus_i, Cminus_j, Sminus_ij, Ci and Cj. :type measured_comb: :param measured_comb: If True, returns the measured combination: S_tot - Cminus_i - Cminus_j + Sminus_ij.

If False, returns the complete combination: S_tot - Cminus_i - Cminus_j + Sminus_ij + Ci + Cj.

Parameters:

verbose (bool)

Return type:

x, y coordinates on the FP in the ONAFP frame and the corresponding power.

class lib.Calibration.Qselfcal.Model_Fringes_QubicSoft(q, baseline, theta_source=0.0, phi_source=0.0, nu_source=150000000000.0, spec_irrad_source=1.0, frame='ONAFP', external_A=None, hwp_position=0)[source]

Bases: object

Methods

get_all_combinations_power([doplot, verbose])

Returns the power on the focal plane at each pointing (each position of the source),

get_fringes([doplot, verbose])

Compute the fringes on the focal plane directly opening the baseline.

get_fringes_from_combination([...])

Return the fringes on the FP by making the combination

get_all_combinations_power(doplot=True, verbose=True, **kwargs)[source]

Returns the power on the focal plane at each pointing (each position of the source), for different configurations of the horn array: all open, all open except i, except j, except i and j, only i open, only j open, only i and j open.

Returns:

  • x, y (The coordinates on the FP.)

  • S, Cminus_i, Cminus_j, Sminus_ij, Ci, Cj, Sij (arrays) – Power on the focal plane for each configuration, at each pointing.

get_fringes(doplot=True, verbose=True, **kwargs)[source]

Compute the fringes on the focal plane directly opening the baseline. see get_response_power() for the arguments. Returns (x, y) coordinates and the power.

get_fringes_from_combination(measured_comb=True, doplot=True, verbose=True, **kwargs)[source]

Return the fringes on the FP by making the combination

Returns:

  • x, y (The coordinates on the FP.)

  • fringes (Fringes on the FP, for each coordinate, at each pointing.)