Onsite Computation of DRS4 Timelapse Coefficients#
Wrapper for the create_drs4_timelapse_file tool.
Onsite script to creates DRS4 timelapse correction coefficients.
It handles the interaction with the onsite data tree and calibration database.
usage: lstcam_calib_onsite_create_drs4_timelapse_file [-h] -r RUN_NUMBER
[-f {fits.gz,fits,h5}]
[-v PROD_VERSION]
[-m MAX_EVENTS]
[-b BASE_DIR]
[--r0-dir R0_DIR]
[--no-data-extraction]
[--no-data-aggregation]
[--no-timelapse-corr]
[--group-by {batch,pixel}]
[--tel-id TEL_ID] [-y]
[--no-pro-symlink]
[--no-progress]
[--no-db]
[--tcu_mongodb TCU_MONGODB]
[--db-url DB_URL]
[--db-name DB_NAME]
[--sub-run SUB_RUN]
Named Arguments#
- --no-progress
Do not display a progress bar during event processing
Default:
False- --no-db
Do not write metadata in TCU data-base
Default:
False
required arguments#
- -r, --run-number
Run number with drs4 pedestals
optional arguments#
- -f, --output-format
Possible choices: fits.gz, fits, h5
output format
Default:
'fits.gz'- -v, --prod-version
Version of the production
Default:
'v0.3.2.dev3+g2beee2f71'- -m, --max-events
Number of events to be processed
- -b, --base-dir
Base 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
- --no-data-extraction
Do not perform the data extraction
Default:
False- --no-data-aggregation
Do not perform the data aggregation
Default:
False- --no-timelapse-corr
Do not perform the computation of timelapse coefficients
Default:
False- --group-by
Possible choices: batch, pixel
This options determines how the fits are performed. If ‘pixel’, one fit is performed per pixel/channel combination. (1855 * 2). If ‘batch’, one fit is performed per batch of drs4 chips (1 or 2). This also influences the output data format. Presently, correction coefficients are produced only for batch group.
Default:
'batch'- --tel-id
telescope id. Default = 1
Default:
1- -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- --tcu_mongodb
TCU mongo data-base url.
Default:
'mongodb://10.1.11.101:27017/'- --db-url
Connection to calibration data_base.
- --db-name
Name of mongo calibration db.
- --sub-run
sub-run to be processed.
Default:
0