exosim.recipes.createFocalPlane#
Classes#
Pipeline to create the instrument focal planes. |
Module Contents#
- class CreateFocalPlane(options_file, output_file, store_config=False)[source]#
Bases:
exosim.utils.timed_class.TimedClass,exosim.log.LoggerPipeline to create the instrument focal planes. This pipeline loads the configuration file and produces an output, if indicated, where all the products are stored. It loads the source SED and the foregrounds and, after the optical chain production, it estimates the focal plane for the source and for the foregrounds.
- Variables:
- Parameters:
Examples
>>> import exosim.recipes as recipes >>> recipes.CreateFocalPlane(options_file= 'main _configuration.xml', >>> output_file = 'output_file.h5')
- prepare_environment(out)[source]#
Il prepores the input data to build the instrument focal planes
- Parameters:
out (
OutputGroup) – output group- Returns:
dict – soureces dict
~collections.OrderedDict – common path dictionary
- Return type:
- run_channel(description, common_path, sources, pointing=None, out=None)[source]#
It instantiates and runs the
Channelfor the indicated channel`- Parameters:
description (dict) – channel description
common_path (~collections.OrderedDict) – dictionary of contributes
pointing ((
astropy.units.Quantity,astropy.units.Quantity) (optional)) – telescope pointing direction, expressed ad a tuple of RA and DEC in degrees. Default isNoneout (
OutputGroup (optional)) – output group
- Return type:
None