SkyComponent

class ska_sdp_datamodels.sky_model.SkyComponent(direction=None, frequency=None, name=None, flux=None, shape='Point', polarisation_frame=<ska_sdp_datamodels.science_data_model.polarisation_model.PolarisationFrame object>, params=None)[source]

Bases: object

SkyComponents are used to represent compact sources on the sky. They possess direction, flux as a function of frequency and polarisation, shape (with params), and polarisation frame

For example, the following creates and predicts the visibility from a collection of point sources drawn from the GLEAM catalog:

sc = create_low_test_skycomponents_from_gleam(flux_limit=1.0,
         polarisation_frame=PolarisationFrame("stokesIQUV"),
         frequency=frequency, kind='cubic',
         phasecentre=phasecentre,
         radius=0.1)
model = create_image_from_visibility(vis,
            cellsize=0.001, npixel=512, frequency=frequency,
            polarisation_frame=PolarisationFrame('stokesIQUV'))

bm = create_low_test_beam(model=model)
sc = apply_beam_to_skycomponent(sc, bm)
vis = dft_skycomponent_visibility(vis, sc)

Attributes Summary

nchan

Number of channels

npol

Number of polarisations

Methods Summary

copy()

Copy a single SkyComponent

Attributes Documentation

nchan

Number of channels

npol

Number of polarisations

Methods Documentation

copy()[source]

Copy a single SkyComponent