Skip to content
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

Implement IRF interpolation method #81

Merged
merged 14 commits into from
Aug 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions magicctapipe/scripts/lst1_magic/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ create_irf:

energy_bins: # log space
start: 0.01 # unit: [TeV]
stop: 100 # unit: [TeV]
num: 21 # number of edges (nbins = num - 1)
stop: 1000 # unit: [TeV]
YoshikiOhtani marked this conversation as resolved.
Show resolved Hide resolved
num: 26 # number of edges (nbins = num - 1)

migration_bins: # log space
start: 0.2
Expand All @@ -220,19 +220,20 @@ create_irf:
gammaness:
cut_type: 'dynamic' # select 'global' or 'dynamic'
global_cut_value: 0.8 # used for the global cut
gamma_efficiency: 0.9 # used for the dynamic cut
efficiency: 0.9 # used for the dynamic cut
min_cut: 0.05 # used for the dynamic cut
max_cut: 0.85 # used for the dynamic cut

theta:
cut_type: 'global' # select 'global' or 'dynamic'
global_cut_value: 0.2 # used for the global cut
gamma_efficiency: 0.75 # used for the dynamic cut
efficiency: 0.75 # used for the dynamic cut
min_cut: 0.1 # used for the dynamic cut
max_cut: 0.45 # used for the dynamic cut


dl2_to_dl3:
irf_interpolation_method: 'nearest' # 'nearest' - no interpolation (closest point taken), 'linear', 'cubic' - interpolation
source_name: 'Crab'
source_ra: null # used when the source name is null
source_dec: null # used when the source name is null
Loading