Reference#
xrayvision.visibility Module#
Modules contains visibility related classes.
This contains classes to hold general visibilities and specialised classes hold visibilities from certain spacecraft or instruments
Classes#
|
Hold a set of related visibilities and information. |
Class Inheritance Diagram#
xrayvision.imaging Module#
Functions#
|
Return natural spatial frequency weight factor for each visibility. |
|
Expand a scalar or array of size one to size two by repeating. |
|
Create the point spread function for given u, v point of the visibilities. |
|
Create a map of the point spread function for given the visibilities. |
|
Create an image by 'back projecting' the given visibilities onto the sky. |
|
Create a map by performing a back projection of inverse transform on the visibilities. |
|
Generate a map head given the visibilities, pixel size and shape |
|
Return a Visibility created from the image and u, v sampling. |
|
Return a Visibility object created from the map and u, v sampling. |
xrayvision.transform Module#
Discrete Fourier Transform (DFT) and Inverse Discrete Fourier Transform (IDFT) related functions.
There are two implementations one a standard DFT dft
and IDFT idft
in terms of pixel space, i.e.
the input has no positional information other than an arbitrary 0 origin and a length. The second
takes inputs which have positional information dft_map
and the inverse idft_map
Functions#
|
Discrete Fourier transform in terms of coordinates returning 1-D array complex visibilities. |
|
Generate the u or v coordinates given the number of pixels, center and pixel size. |
|
Generate the x or y coordinates given the number of pixels, center and pixel size. |
|
Inverse discrete Fourier transform in terms of coordinates returning a 2D real array or image. |
xrayvision.clean Module#
CLEAN algorithms.
The CLEAN algorithm solves the deconvolution problem by assuming a model for the true sky intensity which is a collection of point sources or in the case of multiscale clean a collection of appropriate component shapes at different scales.
Functions#
|
Clean the image using Hogbom's original method. |
|
Clean the visibilities using Hogbom's original method. |
|
Clean the map using a multiscale clean algorithm. |
|
Clean the visibilities using a multiscale clean method. |
xrayvision.mem Module#
Implementation of Maximum Entropy Method
Functions#
|
Return the entropy of an image. |
|
Return the complex Fourier matrix used to compute the value of the visibilities. |
|
Estimate the total flux in the image by solving an optimisation problem. |
|
Return the mean visibilities sampling the same call in the discretisation of the (u,v) plane. |
|
This function computes the value of the proximity operator of the entropy function subject to positivity constraint, i.e. it solves the problem. |
|
Computes the value of the proximity operator of the entropy function subject to positivity constraint and flux constraint by means of a Dykstra-like proximal algorithm (see Combettes, Pesquet, "Proximal Splitting Methods in Signal Processing", (2011)). |
|
Solve the optimization problem using a forward-backward splitting algorithm |
|
Maximum Entropy Method for visibility based image reconstruction |
xrayvision.utils Module#
Functions#
|
Return a configured logger instance. |