Skip to content

Commit

Permalink
Merge pull request gammapy#5309 from QRemy/cleanup_after_5300
Browse files Browse the repository at this point in the history
cleanup after gammapy#5300
  • Loading branch information
QRemy authored Jun 13, 2024
2 parents ddf72e0 + 8f9312f commit 4c56d91
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gammapy/modeling/models/tests/test_spatial.py
Original file line number Diff line number Diff line change
Expand Up @@ -723,12 +723,10 @@ def test_piecewise_spatial_model():
)

coords = MapCoord.create(geom.footprint)
print(coords["lon"])
coords["lon"] *= u.deg
coords["lat"] *= u.deg

model = PiecewiseNormSpatialModel(coords, frame="galactic")
print(model.coords["lon"].deg)

assert_allclose(model(*geom.to_image().center_coord), 1.0)

Expand Down

0 comments on commit 4c56d91

Please sign in to comment.