Skip to content

Commit

Permalink
cleanup after gammapy#5300
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Remy <[email protected]>
  • Loading branch information
QRemy committed Jun 13, 2024
1 parent ddf72e0 commit 8f9312f
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 8f9312f

Please sign in to comment.