CMM.preset.preset_sky module
- class CMM.preset.preset_sky.PresetSky(preset_tools, preset_qubic)[source]
Bases:
object
Preset Sky.
Instance to initialize the Components Map-Making. It defines the observed sky variables and methods.
- Parameters:
preset_tools (object) – Class containing tools and simulation parameters.
preset_qubic (object) – Class containing qubic operator and variables and methods.
- center
Defines the center of the QUBIC observation patch in (RA, DEC).
- Type:
tuple
- coverage
Defines the coverage of the QUBIC scanning strategy.
- Type:
array_like
- max_coverage
Defines the maximum of the coverage.
- Type:
float
- seenpix_qubic
Boolean array defining the pixels seen by QUBIC instrument.
- Type:
array_like
- seenpix
Boolean array defining the pixel with coverage > at a threshold chosen in params.yml.
- Type:
array_like
- namaster
NaMaster class instance.
- Type:
object
- ell
Multipole array, defining through NaMaster.
- Type:
array_like
- cl2dl
Array containing conversion factor to compute \(D_{\ell}\) from \(C_{\ell}\).
- Type:
array_like
Methods
Coverage.
NaMaster.
- get_coverage()[source]
Coverage.
Calculate the coverage mask for the QUBIC patch, according with the number of beta that you want to reconstruct.
This function computes the angular distance between a center point and all pixels on a sphere, sorts these distances, and creates a mask that marks the closest pixels as covered.
- Returns:
mask – A mask array where covered pixels are marked with 1 and uncovered pixels are marked with 0.
- Return type:
array_like