Automatic pipeline

Pipeline to run a POP simulation and save the results, given an input dictionary with selected options.

Base pipeline

This pipeline

  1. Sets up the logger;

  2. Parses the lens file;

  3. Performs a diagnostic ray tracing (optional);

  4. Sets up the optical chain for the POP run automatizing the input of an aberration (optional);

  5. Runs the POP in parallel or using a single thread;

  6. Produces an output where all (or a subset) of the products are stored;

  7. 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})