-
Notifications
You must be signed in to change notification settings - Fork 0
v492.0 dev3 xgb #86
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
Merged
Merged
v492.0 dev3 xgb #86
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
1559cf0
XGB
GernotMaier 4fe856e
copy XGB script
GernotMaier eecaac3
Merge branch 'main' into v492.0-dev3-XGB
GernotMaier acf7368
obsolete parameter
GernotMaier 162fa12
remove obsolete line
GernotMaier 2c81bcb
add 62
GernotMaier 80b8be7
update time mask
GernotMaier 724b193
copy gamma/hadron and stereo analysis model files
GernotMaier 6fcfc58
XGP parameters
GernotMaier 5352abb
Update DispXGB/copy_dispXGB.sh
GernotMaier 6f90b7c
Update ParameterFiles/ANASUM.timemask.dat
GernotMaier 87bcce2
Update ParameterFiles/ANASUM.timemask.dat
GernotMaier a0f2e5a
Initial plan
Copilot 61bcdc2
Update DispXGB/copy_dispXGB.sh
GernotMaier 4062d6f
Remove duplicate time mask entries for runs 107862-108083
Copilot 4328113
Merge pull request #87 from VERITAS-Observatory/copilot/sub-pr-86
GernotMaier d99774f
typos and duplications
GernotMaier 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
Some comments aren't visible on the classic Files Changed page.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| V6* | ||
| V4* | ||
| V5* |
Empty file.
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 |
|---|---|---|
| @@ -0,0 +1,76 @@ | ||
| #!/bin/bash | ||
| # copy dispXGB model files from IRF production site | ||
| # Stereo and gamma/hadron analysis | ||
| # | ||
| # hardwired | ||
| # - SIMTYPE (e.g., CARE_June2020) | ||
| # | ||
|
|
||
| IRFVERSION=$(cat ../IRFVERSION) | ||
| ANALYSISTYPE="${VERITAS_ANALYSIS_TYPE:0:2}" | ||
| SIMTYPE="CARE_UV_2212" | ||
| SIMTYPE="GRISU" | ||
| SIMTYPE="CARE_RedHV" | ||
| SIMTYPE="CARE_June2020" | ||
| SIMTYPE="CARE_24_20" | ||
| SIMTYPE="CARE_RedHV_Feb2024" | ||
GernotMaier marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| SIMTYPE="CARE_202404" | ||
|
|
||
| echo "COPY dispXGB for ${IRFVERSION}, analysis type ${ANALYSISTYPE}, and simulation type ${SIMTYPE}" | ||
|
|
||
| for Z in XZE LZE MZE SZE | ||
| do | ||
| if [[ $Z == "XZE" ]]; then | ||
| ZE="60deg" | ||
| elif [[ $Z == "LZE" ]]; then | ||
| ZE="55deg" | ||
| elif [[ $Z == "MZE" ]]; then | ||
| ZE="45deg" | ||
| elif [[ $Z == "SZE" ]]; then | ||
| ZE="20deg" | ||
| fi | ||
| echo "Zenith bin $Z $ZE" | ||
| for A in ATM61 ATM62 | ||
| do | ||
| if [[ ${SIMTYPE} == "GRISU" ]]; then | ||
| A=${A/6/2} | ||
| EPOCHS="V4 V5" | ||
| elif [[ ${SIMTYPE} == *"UV"* ]]; then | ||
| EPOCHS=$(cat ../IRF_EPOCHS_obsfilter.dat | sort -u) | ||
| if [[ ${A} == "ATM62" ]]; then | ||
| continue | ||
| fi | ||
| else | ||
| if [[ ${A} == "ATM62" ]]; then | ||
| EPOCHS=$(cat ../IRF_EPOCHS_SUMMER.dat | sort -u) | ||
| else | ||
| EPOCHS=$(cat ../IRF_EPOCHS_WINTER.dat | sort -u) | ||
GernotMaier marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| fi | ||
| EPOCHS="V6_2016_2017" | ||
| fi | ||
| for E in $EPOCHS | ||
| do | ||
| echo "EPOCH ${E} ATMO ${A} (**NOTE EPOCHS ARE IGNORED**)" | ||
| if [[ ${SIMTYPE} == *"RedHV"* ]]; then | ||
| ODIR="${VERITAS_ANALYSIS_TYPE:0:2}/${E}_${A}_redHV" | ||
| elif [[ ${SIMTYPE} == *"UV"* ]]; then | ||
| ODIR="${VERITAS_ANALYSIS_TYPE:0:2}/${E}_${A}_UV" | ||
| else | ||
| ODIR="${VERITAS_ANALYSIS_TYPE:0:2}/${E}_${A}" | ||
| fi | ||
| IDIR="${VERITAS_IRFPRODUCTION_DIR}/${IRFVERSION}/${ANALYSISTYPE}/${SIMTYPE}" | ||
|
|
||
| # Stereo analysis | ||
| ZDIR="${ODIR}/${Z}" | ||
| mkdir -p ${ZDIR} | ||
| SDIR="${IDIR}/${E}_${A}_gamma/TrainXGBStereoAnalysis/ze${ZE}" | ||
| cp -v -i ${SDIR}/* ${ZDIR}/ | ||
GernotMaier marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| # Gamma/hadron BDTs (zenith angle independent) | ||
| if [[ $Z == "SZE" ]]; then | ||
| GDIR="${IDIR}/${E}_${A}_gamma/TrainXGBGammaHadron" | ||
| cp -v -i ${GDIR}/*.{joblib,log} ${ODIR}/ | ||
| fi | ||
| done | ||
| done | ||
| done | ||
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
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
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.