Functionality related to the Sky Model.
Utilities for converting back and forth between stokes parameters and correlations
africanus.model.coherency
convert
convert
africanus.model.coherency.cuda
convert
convert
africanus.model.coherency.dask
convert
convert
Functionality for computing a Spectral Model.
africanus.model.spectral
spectral_model
spectral_model
africanus.model.spectral.dask
spectral_model
spectral_model
Functionality related to the spectral index.
For example, we may want to compute the spectral indices of components in a sky model defined by
where ν are frequencies ay which we want to construct the intensity of a Stokes I image and the ν0 is the corresponding reference frequency. The spectral index α determines how quickly the intensity grows or decays as a function of frequency. Given a list of model image components (preferably with the residuals added back in) we can recover the corresponding spectral indices and reference intensities using the ~africanus.model.spi.fit_spi_components
function. This will also return a lower bound on the associated uncertainties on these components.
africanus.model.spi
fit_spi_components
fit_spi_components
africanus.model.spi.dask
fit_spi_components
fit_spi_components
Shape functions for different Source Morphologies
africanus.model.shape
gaussian
gaussian
africanus.model.shape.dask
gaussian
gaussian
Utilities for creating a spectral model from a wsclean component file.
africanus.model.wsclean
load spectra
load
spectra
africanus.model.wsclean.dask
spectra
spectra