Image¶
-
class
Image
(data=None, wcs=None, polarisation_frame=None)[source]¶ Bases:
object
Image class with Image data (as a numpy.array) and the AstroPy implementation of a World Coodinate System
Many operations can be done conveniently using numpy processing_library on Image.data_models.
Most of the imaging processing_library require an image in canonical format: - 4 axes: RA, DEC, POL, FREQ
The conventions for indexing in WCS and numpy are opposite. - In astropy.wcs, the order is (longitude, latitude, polarisation, frequency) - in numpy, the order is (frequency, polarisation, latitude, longitude)
Warning
The polarisation_frame is kept in two places, the WCS and the polarisation_frame variable. The latter should be considered definitive.
Attributes Summary
Methods Summary
size
()Return size in GB
Attributes Documentation
-
frequency
¶
-
nchan
¶
-
nheight
¶
-
npol
¶
-
nwidth
¶
-
phasecentre
¶
-
shape
¶
Methods Documentation
-