Onsite Computation of CatB Calibration Coefficients#
Wrapper for the create_cat_b_calibration_file
tool.
Onsite script for creating a Cat-B calibration file.
usage: lstcam_calib_onsite_create_cat_b_calibration_file [-h] -r RUN_NUMBER
[-c CATA_CALIBRATION_RUN]
[-v PROD_VERSION]
[--lstchain-version LSTCHAIN_VERSION]
[-s STATISTICS]
[-b BASE_DIR]
[--r0-dir R0_DIR]
[--dl1-dir DL1_DIR]
[--sys-date SYS_DATE]
[--no-sys-correction]
[--output-base-name OUTPUT_BASE_NAME]
[--n-subruns N_SUBRUNS]
[-f FILTERS]
[--config CONFIG]
[--mongodb MONGODB]
[-y]
[--no-pro-symlink]
[--catA-format {fits.gz,fits,h5}]
required arguments#
- -r, --run-number
Run number of interleaved data
optional arguments#
- -c, --catA-calibration-run
Cat-A calibration run to be used. If None, it looks for the calibration run of the date of the interleaved data.
- -v, --prod-version
Version of the production
Default:
'v0.2.1.dev63+gdaf635b'
- --lstchain-version
lstchain version of the DL1 data.
- -s, --statistics
Number of events for the flat-field and pedestal statistics
Default:
2500
- -b, --base-dir
Root dir for the output directory tree
Default:
/fefs/onsite/data/lst-pipe/LSTN-01
- --r0-dir
Root dir for the input r0 tree. By default, <base_dir>/R0 will be used
- --dl1-dir
Root dir for the input r tree. By default, <base_dir>/DL1 will be used
- --sys-date
Date of systematic correction file (format YYYYMMDD). Default: automatically search the best date
- --no-sys-correction
Systematic corrections are not applied.
Default:
False
- --output-base-name
Base of output file name (change only for debugging)
Default:
'calibration'
- --n-subruns
Number of subruns to be processed
Default:
100000
- -f, --filters
Calibox filters
- --config
Config file
Default:
/usr/local/lib/python3.11/site-packages/lstcam_calib/resources/catB_camera_calibration_param.yml
- --mongodb
Mongo data-base (CACO DB) connection.
Default:
'mongodb://10.200.10.161:27018/'
- -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
- --catA-format
Possible choices: fits.gz, fits, h5
output format
Default:
'fits.gz'