Onsite Computation of F-factor Sytematics Corrections#

Wrapper for the create_fit_intensity_scan_file tool.

Onsite script to create a F-factor systematic correction file by fitting an intensity scan.

usage: lstcam_calib_onsite_create_fit_intensity_scan_file [-h] -d DATE -c
                                                          CONFIG
                                                          [-v PROD_VERSION]
                                                          [-b BASE_DIR]
                                                          [--sub-run SUB_RUN]
                                                          [--input-prefix INPUT_PREFIX]
                                                          [-y]
                                                          [--no-pro-symlink]
                                                          [--use-db]
                                                          [--db-url DB_URL]
                                                          [--db-name DB_NAME]

Named Arguments#

--use-db

Write metadata in TCU data-base

Default: False

required arguments#

-d, --date

Date of the scan (YYYYMMDD)

-c, --config

Config file (yaml format) with the list of runs

optional arguments#

-v, --prod-version

Version of the production

Default: 'v0.2.1.dev63+gdaf635b'

-b, --base-dir

Root dir for the output directory tree

Default: /fefs/onsite/data/lst-pipe/LSTN-01

--sub-run

sub-run to be processed.

Default: 0

--input-prefix

Prefix of the input file names

Default: 'calibration'

-y, --yes

Do not ask interactively for permissions, assume true

Default: False

--no-pro-symlink

Do not update the pro dir symbolic link, assume true

Default: False

--db-url

Connection to calibration data_base.

--db-name

Name of mongo calibration db.