-
Notifications
You must be signed in to change notification settings - Fork 20
Support several NectarCAM cameras #218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jlenain
wants to merge
29
commits into
cta-observatory:main
Choose a base branch
from
jlenain:several_cameras
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
d2713ea
Support of multiple NectarCAM cameras for DQM job submitter and DQM r…
jlenain 59741a4
Adapt the DQM to support multiple NectarCAM cameras
jlenain 570532f
handle several nectarCAM cameras
fea5470
Update notebook
jlenain 502bae1
Change help message
jlenain b0c0cb7
Lost a fundamental change during an unfortunate rebase onto main
jlenain 1656aec
Update unit tests for DQM
jlenain 72d2924
Lint
jlenain e20aeb2
Leftovers
jlenain e0caa91
Should cover and close #190
jlenain f948b96
Better doc
jlenain 92fb281
Add option to select camera to DQM
jlenain a86d2ea
Typo
jlenain e48302d
Propagate camera option to DQM job submitter
jlenain 2bb3ad7
Propagate camera option to core code, and gain scripts
jlenain f6fe8b3
Properly propagate camera option to load_wfs_compute_charge script
jlenain b0e7fd9
Properly propagate camera option in core code
jlenain 4477865
Remove duplicate code
jlenain 14b2114
Propagate camera option to gain users' scripts
jlenain 1f99a6d
Propagate telescope ID to flatfield and waveforms components
jlenain ef9315a
Propagate telescope ID to tool tutorial
jlenain c5305b0
More consistent auto-discovery of QM as default
jlenain 3f08a48
Lint
jlenain cad0773
Include camera number in DQM results archive
jlenain f485835
Fix typo
jlenain d9b29a0
Fix typo
jlenain a0a071f
Forgot to propagate `camera` to DIRAC parent directory for DQM results
jlenain b8505b7
Using a local container image is just for testing this PR !
jlenain ad870b9
Add support for several cameras in flat-field script
jlenain File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
2 changes: 1 addition & 1 deletion
2
src/nectarchain/user_scripts/ggrolleron/gain_PhotoStat_computation.sh
This file contains hidden or 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 |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| #HOW TO : | ||
| #to perform photo-statistic high and low gain computation with pedestal run 2609, flat field run 2609 and SPE fit result from run 2634 (1400V run) | ||
| python gain_PhotoStat_computation.py --FF_run_number 3937 --Ped_run_number 3938 --SPE_run_number 3942 --SPE_config HHVfixed --max_events 100 --method LocalPeakWindowSum --extractor_kwargs '{"window_width":16,"window_shift":4}' --overwrite -v INFO --reload_events | ||
| python gain_PhotoStat_computation.py --camera="NectarCAMQM" --FF_run_number 3937 --Ped_run_number 3938 --SPE_run_number 3942 --SPE_config HHVfixed --max_events 100 --method LocalPeakWindowSum --extractor_kwargs '{"window_width":16,"window_shift":4}' --overwrite -v INFO --reload_events | ||
|
|
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
src/nectarchain/user_scripts/ggrolleron/gain_SPEfit_combined_computation.sh
This file contains hidden or 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 |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| #HOW TO : | ||
|
|
||
| #to perform SPE fit of run 3936 (supposed to be taken at nominal voltage) from SPE fit performed on 3942 (taken at 1400V) (luminosity can not be supposed the same) | ||
| python gain_SPEfit_combined_computation.py -r 3936 --HHV_run_number 3942 --multiproc --nproc 8 --chunksize 2 -p 45 56 --max_events 100 --method LocalPeakWindowSum --extractor_kwargs '{"window_width":16,"window_shift":4}' --overwrite -v DEBUG --reload_events | ||
| python gain_SPEfit_combined_computation.py --camera="NectarCAMQM" -r 3936 --HHV_run_number 3942 --multiproc --nproc 8 --chunksize 2 -p 45 56 --max_events 100 --method LocalPeakWindowSum --extractor_kwargs '{"window_width":16,"window_shift":4}' --overwrite -v DEBUG --reload_events |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.