extract_direction_and_flux

ska_sdp_func_python.imaging.dft.extract_direction_and_flux(sc, vis)[source]

Extract SkyComponent direction and flux to be consumed by DFT. Flux polarisation and frequency are scaled to that of input Visibility data.

Parameters:
  • sc – SkyComponent or list of SkyComponents

  • vis – Visibility

Returns:

Tuple of two numpy arrays: component direction cosines and component fluxes