Onsite Computation of DRS4 Pedestal Coefficients#

Wrapper for the create_drs4_pedestal_file tool.

Onsite script to creates DRS4 baseline and spikes’ height coefficients.

It handles the interaction with the onsite data tree and calibration database.

usage: lstcam_calib_onsite_create_drs4_pedestal_file [-h] -r RUN_NUMBER
                                                     [-f {fits.gz,fits,h5}]
                                                     [-v PROD_VERSION]
                                                     [-m MAX_EVENTS]
                                                     [-b BASE_DIR]
                                                     [--r0-dir R0_DIR]
                                                     [--tel-id TEL_ID] [-y]
                                                     [--no-pro-symlink]
                                                     [--no-progress]
                                                     [--use-db]
                                                     [--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

--use-db

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.2.1.dev63+gdaf635b'

-m, --max-events

Number of events to be processed

Default: 20000

-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

--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

--db-url

Connection to calibration data_base.

--db-name

Name of mongo calibration db.

--sub-run

sub-run to be processed.

Default: 0