process.pipeline.ecpi_script Module

This is a executable python script to run the ECLAIRs pipeline in a local configuration.

The script needs a configuration file in argument.

See also

process/pipeline/readme.md

Le script has 2 inputs: * configuration file: example here ecpi/common/data/config_files * output directory

usage: ecpi_local_script.py [-h] [-v] [-s]
config_file output_dir

local script to run the ECLAIRs pipeline v1

positional arguments:

config_file configuration file absolute path output_dir directory to store the output files from the pipeline. For

security reasons, files are store in a sub-directory named ECLAIRs_pipeline_dir_*, cleaned each time.
optional arguments:
-h, --help show this help message and exit
-v, --verbose increase output verbosity for additional information in stdout (e.g., no -v : quiet, -v : info, -vv : debug
-s, --show show flag for display some graphs

This is a executable python script to run the ECLAIRs pipeline in a local configuration. The script needs a configuration file in argument. An example of a working configuration file could be found in ecpi/common/data/config_files/ecpi_config.cfg

@author: Catalano Camille, APC/IN2P3/CNRS

Functions

check_directory(value_array)
main(args) This is the main function of the executable python script to run the ECLAIRs pipeline in local configuration.
read_catalog(cfg, obs_id, catalog_fov) get the catalog for sources identification
read_imag_config(cfg) read the general imag config parameters
read_observation_config(cfg, obs_id) read the observation config parameters