create_image_from_array¶
-
create_image_from_array
(data: numpy.array, wcs: astropy.wcs.wcs.WCS, polarisation_frame: data_models.polarisation.PolarisationFrame) → data_models.memory_data_models.Image[source]¶ Create an image from an array and optional wcs
The output image preserves a reference to the input array.
- Parameters
data – Numpy.array
wcs – World coordinate system
polarisation_frame – Polarisation Frame
- Returns
Image