Skip to content

Commit

Permalink
Merge pull request #204 from ctlearn-project/extrapol
Browse files Browse the repository at this point in the history
Allow extrapolation for the pointing
  • Loading branch information
TjarkMiener authored Jul 19, 2024
2 parents 76c2a4b + 744635c commit 70ad225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctlearn/output_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def write_output(h5file, data, rest_data, reader, predictions, tasks):
# so there is only one tel_id in the file.
# For stereo we should fix this directly in the ctapipe plugin,
# which is currently under development.
pointing_interpolator = PointingInterpolator()
pointing_interpolator = PointingInterpolator(bounds_error=False, extrapolate=True)
tel_id_int = None
for tel_id, pointing_table in reader.telescope_pointings.items():
tel_id_int = int(tel_id.replace("tel_", ""))
Expand Down

0 comments on commit 70ad225

Please sign in to comment.