Sub-Exposures automatic Recipe#
Al the steps needed to the production of sub-exposures are already collected in a pre-made pipeline.
This is under the recipes of ExoSim.
from exosim import recipes
recipes.CreateSubExposures(input_file='./input_file.h5',
output_file='./output_file.h5',
options_file='your_config_file.xml')
The CreateSubExposures can also be run from console as
exosim-sub-exposures -c your_config_file.xml -i input_file.h5 -o output_file.h5
or
exosim-sub-exposures -c your_config_file.xml -i input_file.h5 -o output_file.h5 -P
to also run ExoSim SubExposuresPlotter, which is documented in Sub-Exposures Plotter.
The user can also set the chunk size (see Instantaneous readout) using
exosim-sub-exposures -c your_config_file.xml -i input_file.h5 -o output_file.h5 --chunk_size N
where N is the desired size expressed in Mbs.