create_image
- ska_sdp_datamodels.image.create_image(npixel, cellsize, phasecentre, polarisation_frame=<ska_sdp_datamodels.science_data_model.polarisation_model.PolarisationFrame object>, frequency=100000000.0, channel_bandwidth=1000000.0, nchan=3, dtype='float', clean_beam=None) Image [source]
Create an empty image consistent with the inputs.
- Parameters:
npixel – Number of pixels; e.g. 512
cellsize – cellsize in radians; e.g. 0.000015
phasecentre – phasecentre (SkyCoord)
polarisation_frame – Polarisation frame; default: PolarisationFrame(“stokesI”)
frequency – Start frequency; default: 1.e8
channel_bandwidth – Channel width (Hz); default: 1.e6
nchan – Number of channels in image
dtype – Python data type for array
clean_beam – dict holding clean beam e.g {“bmaj”:0.1, “bmin”:0.05, “bpa”:-60.0}
- Returns:
Image