Automatic pipeline
Pipeline to run a POP simulation and save the results, given an input dictionary with selected options.
Base pipeline
This pipeline
Sets up the logger;
Parses the lens file;
Performs a diagnostic ray tracing (optional);
Sets up the optical chain for the POP run automatizing the input of an aberration (optional);
Runs the POP in parallel or using a single thread;
Produces an output where all (or a subset) of the products are stored;
If indicated, the output includes plots.
Example
Code example to the method pipeline
to run a simulation using the configuration file for AIRS-CH1.
from paos.core.pipeline import pipeline
pipeline(passvalue={'conf':'path/to/ini/file',
'output': 'path/to/hdf5',
'plot': True,
'loglevel': 'info',
'n_jobs': 2,
'store_keys': 'amplitude,dx,dy,wl',
'return': False})