Imaging
ska_sdp_func_python.imaging.base Module
Base Imaging functions.
Functions
|
Advise on parameters for wide field imaging. |
|
Make an empty Image from params and Visibility. |
|
Fill the visibility for calculation of PSF. |
|
Invert using convolutional degridding and an AW kernel. |
|
Normalise out the sum of weights. |
|
Predict using convolutional degridding and an AW kernel. |
|
Shift visibility in place to the phase centre of the Image. |
|
Compensate for kernel re-centering - see w_kernel_function. |
ska_sdp_func_python.imaging.dft Module
Functions that aid Fourier transform processing.
Functions
|
CPU computational kernel for DFT, using explicit loop over components. |
|
CPU computational kernel for DFT, using CUDA raw code via cupy. |
|
CPU computational kernel for DFT, choice dependent on dft_compute_kernel. |
|
DFT to get the visibility from a SkyComponent, for Visibility. |
|
Calculate the Direct Fourier Transform (DFT) for a single sky component. |
|
Calculate visibility amplitude tapers for Gaussian components. |
|
Extract SkyComponent direction and flux to be consumed by DFT. |
|
Inverse DFT a SkyComponent from Visibility. |
ska_sdp_func_python.imaging.imaging Module
Functions for predicting visibility from a model image, and invert a visibility to make an (Image, sumweights) tuple. These redirect to specific versions.
Functions
|
Invert Visibility to make an (Image, sum weights) tuple. |
|
Predict Visibility from an Image. |
ska_sdp_func_python.imaging.imaging_helpers Module
Functions to aid operations on imaging results.
Functions
|
Remove sumwt term in list of (image, sumwt) tuples. |
|
Sum a set of invert results with appropriate weighting. |
|
Sum a set of predict results of the same shape. |
|
Find actual threshold for list of results, optionally using moment 0. |
ska_sdp_func_python.imaging.ng Module
Functions that implement prediction of and imaging from visibilities using the nifty gridder (DUCC version).
https://gitlab.mpcdf.mpg.de/mtr/ducc.git
This performs all necessary w term corrections, to high precision.
Note that nifty gridder doesn’t like some null data such as all w = 0 and do_wstacking=True. Also true of the visibilities.
Functions
|
Invert using nifty-gridder module. |
|
Predict using convolutional degridding. |
ska_sdp_func_python.imaging.weighting Module
Functions that aid weighting the visibility data prior to imaging.
- There are two classes of functions:
Changing the weight dependent on noise level or sample density or a combination
Tapering the weight spatially to avoid effects of sharp edges or to emphasize a given scale size in the image
Functions
|
Taper the visibility weights. |
|
Taper the visibility weights. |
|
Weight the visibility data. |
ska_sdp_func_python.imaging.wg Module
Functions that implement prediction of and imaging from visibilities using the GPU-based w-stacking gridder from ska-sdp-func (which is compatible with the DUCC/nifty gridder).
Functions
|
Invert using GPU-based w-stacking gridder module. |
|
Predict using GPU-based w-stacking degridder module. |
ska_sdp_func_python.imaging.adaptive_optics Module
Functions that implement creating Zernike polynomials to be applied as phase across the dish.
Note that we copied the implementation of zernike_noll and its related functions from package aotools (Ver 1.0.5) to simplify the installation. Copyright of function zernIndex and zernike_noll belongs to its respectful owner
AOTools: https://github.com/AOtools/aotools version 1.0.5 Releases 22
Functions
|
Creates the Zernike polynomial with mode index j, where j = 1 corresponds to piston. |
ska_sdp_func_python.imaging.primary_beams Module
Functions to create primary beam and voltage pattern models
Functions
|
Fill in PB header correctly for local coordinates. |
|
Create an image containing the primary beam for a number of cases |
|
Create a generic analytical model of the primary beam |
|
Create an image containing the dish voltage pattern for a number of cases |
|
Create a generic analytical model of the voltage pattern |
|
Make an image like model and fill it with an analytical model of the primary beam |
|
Create a test power beam for LOW |
|
Create a test voltage beam for LOW |
|
Approximate all sky MID beam |
|
Convert AZELGEO image to image coords at specific parallactic angle |
|
Normalise the vp in place so that the peak gain on axis for parallel pols is equal |