NDRs 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.CreateNDRs(input_file='./input_file.h5',
                   output_file='./output_file.h5',
                   options_file='your_config_file.xml')

The CreateNDRs can also be run from console as

exosim-ndrs -c your_config_file.xml -i input_file.h5 -o output_file.h5

or

exosim-ndrs -c your_config_file.xml -i input_file.h5 -o output_file.h5 -P

to also run ExoSim NDRsPlotter, which is documented in NDRs Plotter.

The user can also set the chunk size (see Instantaneous readout) using

exosim-ndrs -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.