Skip to content

Commit

Permalink
icrs conversion
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Remy <[email protected]>
  • Loading branch information
QRemy committed Jul 17, 2024
1 parent addd160 commit 660a695
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gammapy/makers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ def _get_fov_coords(pointing, irf, geom, use_region_center=True, obstime=None):
)
elif irf.fov_alignment == FoVAlignment.RADEC:
fov_lon, fov_lat = sky_to_fov(
sky_coord.ra, sky_coord.dec, pointing_icrs.ra, pointing_icrs.dec
sky_coord.icrs.ra,
sky_coord.icrs.dec,
pointing_icrs.icrs.ra,
pointing_icrs.icrs.dec,
)
else:
raise ValueError(
Expand Down

0 comments on commit 660a695

Please sign in to comment.