You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
________________________ [doctest] docs/wcs/wcsapi.rst _________________________
286 extracting a spectral slice, and in that slice we are extracting a sub-region
287 on the sky.
288
289 If you are implementing your own WCS class, you could choose to implement
290 ``__getitem__`` and have it internally use
291 :class:`~astropy.wcs.wcsapi.SlicedLowLevelWCS`. In fact, the
292 :class:`~astropy.wcs.WCS` class does this - the example above can be written
293 more succinctly as::
294
295 >>> wcs[10, 30:100, 30:100] # doctest: +REMOTE_DATA +ELLIPSIS
Differences (unified diff with -expected +actual):
@@ -1,2 +1,3 @@
+<astropy.wcs.wcsapi.fitswcs.SlicedFITSWCS object at 0x7f2484b3a2b0>
SlicedFITSWCS Transformation
<BLANKLINE>
/home/travis/build/astropy/astropy/docs/wcs/wcsapi.rst:295: DocTestFailure
Activity