Skip to content

Commit

Permalink
Merge pull request #81 from cta-observatory/irf_interp
Browse files Browse the repository at this point in the history
Implement IRF interpolation method
  • Loading branch information
YoshikiOhtani authored Aug 17, 2022
2 parents b66cbcd + 0bb2f91 commit 34dd298
Show file tree
Hide file tree
Showing 5 changed files with 667 additions and 276 deletions.
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]
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

0 comments on commit 34dd298

Please sign in to comment.