Skycomponent¶
-
class
Skycomponent
(direction=None, frequency=None, name=None, flux=None, shape='Point', polarisation_frame=<data_models.polarisation.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 = predict_skycomponent_visibility(vis, sc)
Attributes Summary
Attributes Documentation
-
nchan
¶
-
npol
¶
-