test psf map
@@ -496,3 +496,12 @@ def test_psf_containment_coords():
)
assert_allclose(radius, 0.10575 * u.deg, rtol=1e-5)
+
+
+@requires_dependency("matplotlib")
+@requires_data()
+def test_peek():
+ psf_map = PSFMap.read("$GAMMAPY_DATA/cta-1dc-gc/cta-1dc-gc.fits.gz", hdu="PSF")
+
+ with mpl_plot_check():
+ psf_map.peek()
\ No newline at end of file
