-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from hashkar/hashkar/master
Changes to the DQM. Mainly: ouput format, safety in case no drawer temp found, commented plotting command
- Loading branch information
Showing
11 changed files
with
401 additions
and
200 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Quick recipe for the Data Quality Monitoring (DQM) scripts | ||
|
||
To launch the DQM, first activate the `nectarchain` `conda` environment: | ||
|
||
```shell | ||
source activate nectarchain | ||
``` | ||
|
||
Usage: | ||
|
||
```shell | ||
$ python start_calib.py -h | ||
|
||
usage: start_calib.py [-h] [-p] [-n] [-r RUNNB] [-i INPUT_FILES [INPUT_FILES ...]] input_paths output_paths | ||
|
||
NectarCAM Data Quality Monitoring tool | ||
|
||
positional arguments: | ||
input_paths Input paths | ||
output_paths Output paths | ||
|
||
optional arguments: | ||
-h, --help show this help message and exit | ||
-p, --plot Enables plots to be generated | ||
-n, --noped Enables pedestal subtraction in charge integration | ||
-r RUNNB, --runnb RUNNB | ||
Optional run number, automatically found on DIRAC | ||
-i INPUT_FILES [INPUT_FILES ...], --input-files INPUT_FILES [INPUT_FILES ...] | ||
Local input files | ||
``` | ||
To automatically find and retrieve run files from DIRAC, use the `-r` option: | ||
```shell | ||
python start_calib.py -r 2720 $NECTARCAMDATA $NECTARDIR | ||
``` | ||
To manually use local run files, use the `-i` option **after** indicating the positional arguments for input and output directories: | ||
```shell | ||
python start_calib.py $NECTARDATA $NECTARDIR -i NectarCAM.Run2720.0000.fits.fz NectarCAM.Run2720.0001.fits.fz | ||
``` |
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.