lib.MapMaking.ComponentMapMaking.preset.preset_tools module
- class lib.MapMaking.ComponentMapMaking.preset.preset_tools.PresetTools(comm, parameters_file)[source]
Bases:
objectPreset Tools.
Instance to initialize the Components Map-Making. It contains tool functions used in all the different files and the simulation parameters.
- Parameters:
comm (MPI communicator) – MPI common communicator define by MPI.COMM_WORLD.
- params
Dictionary containing all the simulations parameters.
- Type:
dict
Methods
Errors check.
Display the simulation configuration details.
- check_for_errors()[source]
Errors check.
Checks for various parameter errors in the ‘params.yml’ file.
- Raises:
TypeError – If any of the parameter checks fail.
- display_simulation_configuration()[source]
Display the simulation configuration details.
This method prints out the configuration settings for the simulation, including details about the sky input and output, QUBIC instrument settings, and MPI tasks. The configuration is only displayed if the rank of the process is 0.