Skip to content

Commit

Permalink
add energy dependent cuts option for irfs
Browse files Browse the repository at this point in the history
  • Loading branch information
vuillaut committed Aug 22, 2024
1 parent 8506aad commit b173f31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lstmcpipe/config/paths_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def path_dict(gamma_part, offset):
'electron_file': self.dl2_output_file('electron'),
},
'output': os.path.join(self.irf_dir(gamma_src_offset=offset), f'irf_{self.prod_id}_{offset}.fits.gz'),
'options': '--gh-efficiency 0.7 --theta-containment 0.7 '
'options': '--gh-efficiency 0.7 --theta-containment 0.7 --energy-dependent-gh --energy-dependent-theta '
}
if gamma_part == 'gamma':
d['options'] += ' --point-like'
Expand Down Expand Up @@ -822,7 +822,7 @@ def dl2_to_irfs(self):
'electron_file': None,
},
'output': os.path.join(self.irf_dir(pointing), f'irf_{self.prod_id}_{pointing}.fits.gz'),
'options': '--point-like --gh-efficiency 0.7 --theta-containment 0.7 ',
'options': '--point-like --gh-efficiency 0.7 --theta-containment 0.7 --energy-dependent-gh --energy-dependent-theta ',
'extra_slurm_options': {'mem': '6GB'},
}
paths.append(pp)
Expand Down

0 comments on commit b173f31

Please sign in to comment.