- class GaussianSph[source]#
The spherical Gaussian light profile.
float]) – The (y,x) arc-second coordinates of the profile centre.
float) – Overall intensity normalisation of the light profile (units are dimensionless and derived from the data the light profile’s image is compared too, which is expected to be electrons per second).
float) – The sigma value of the Gaussian, corresponding to ~ 1 / sqrt(2 log(2)) the full width half maximum.
The angle between each angle theta on the grid and the profile, in radians.
Evaluate the light object's 2D image from a input 2D grid of coordinates and convolve it with a PSF.
A dictionary representation of the instance comprising a type field which contains the entire class path by which the type can be imported and constructor arguments.
Convert a grid of (y,x) coordinates to an eccentric radius: :math: axis_ratio^0.5 (x^2 + (y^2/q))^0.5
Convert a grid of (y,x) coordinates to their elliptical radii values: :math: (x^2 + (y^2/q))^0.5
Instantiate an instance of a class from its dictionary representation.
Load the dictable object to a .json file, whereby all attributes are converted from the .json file's dictionary representation to create the instance of the object
Does this instance have an attribute which is of type cls?
Returns the light profile's 1D image from a grid of Cartesian coordinates, which may have been transformed using the light profile's geometry.
Returns the Gaussian light profile's 2D image from a 2D grid of Cartesian (y,x) coordinates.
Returns the 2D image of the Gaussian light profile from a grid of coordinates which are the radial distance of each coordinate from the its centre.
Routine to integrate the luminosity of an elliptical light profile.
Integrate the light profile to compute the total luminosity within a circle of specified radius.
Output the dictable object to a .json file, whereby all attributes are converted to a dictionary representation first.
Evaluate the light object's 2D image from a input 2D grid of padded coordinates, where this padding is sufficient to encapsulate all surrounding pixels that will blur light into the original image given the 2D shape of the PSF's kernel.
Convert a grid of (y, x) coordinates, to their radial distances from the profile centre (e.g.
Rotate a grid of (y,x) coordinates which have been transformed to the elliptical reference frame of a profile back to the original unrotated coordinate grid reference frame.
Transform a grid of (y,x) coordinates from the reference frame of the profile to the original observer reference frame.
Transform a grid of (y,x) coordinates to the reference frame of the profile.
Evaluate the light object's 2D image from a input 2D grid of coordinates and convolve it with a PSF, using a grid which is not masked.
Evaluate the light object's 2D image from a input 2D grid of coordinates and transform this to an array of visibilities using a autoarray.operators.transformer.Transformer object and therefore a Fourier Transform.
The position angle in degrees of the major-axis of the ellipse defined by profile, defined counter clockwise from the positive x-axis (0.0 > angle > 180.0).
The position angle in radians of the major-axis of the ellipse defined by profile, defined counter clockwise from the positive x-axis (0.0 > angle > 2pi).
The ratio of the minor-axis to major-axis (b/a) of the ellipse defined by profile (0.0 > q > 1.0).