- class autogalaxy.profiles.light_profiles.EllSersic(centre: Tuple[float, float] = (0.0, 0.0), elliptical_comps: Tuple[float, float] = (0.0, 0.0), intensity: float = 0.1, effective_radius: float = 0.6, sersic_index: float = 4.0)#
- __init__(centre: Tuple[float, float] = (0.0, 0.0), elliptical_comps: Tuple[float, float] = (0.0, 0.0), intensity: float = 0.1, effective_radius: float = 0.6, sersic_index: float = 4.0)#
The elliptical Sersic light profile.
See autogalaxy.profiles.light_profiles.light_profiles.LightProfile for a description of light profile objects.
centre – The (y,x) arc-second coordinates of the profile centre.
elliptical_comps – The first and second ellipticity components of the elliptical coordinate system, (see the module autogalaxy -> convert.py for the convention).
intensity – 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).
effective_radius – The circular radius containing half the light of this profile.
sersic_index – Controls the concentration of the profile (lower -> less concentrated, higher -> more concentrated).
__init__([centre, elliptical_comps, …])
The elliptical Sersic light profile.
Evaluate the light object’s 2D image from a input 2D grid of coordinates and convolve it with a PSF, using a autoarray.operators.convolver.Convolver object.
blurred_image_2d_via_psf_from(grid, psf, …)
Evaluate the light object’s 2D image from a input 2D grid of coordinates and convolve it with a PSF.
Determine the sin and cosine of the angle between the profile’s ellipse and the positive x-axis, counter-clockwise.
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.
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
The angle between each angle theta on the grid and the profile, in radians.
Convert a grid of (y,x) coordinates to an eccentric radius, which is (1.0/axis_ratio) * elliptical radius and used to define light profile half-light radii using circular radii.
Convert a grid of (y,x) coordinates to an elliptical radius.
Convert a grid of (y,x) coordinates with their specified circular radii to their original (y,x) Cartesian coordinates.
Convert a grid of (y, x) coordinates to a grid of their circular radii.
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 Sersic light profile’s 2D image from a 2D grid of Cartesian (y,x) coordinates.
Returns the 2D image of the Sersic light profile from a grid of coordinates which are the radial distances 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..
To make 1D plots (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, including a rotation to its original orientation and a translation from the profile’s centre.
Transform a grid of (y,x) coordinates to the reference frame of the profile, including a translation to its centre and a rotation to it orientation.
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 effective_radius of a Sersic light profile is defined as the circular effective radius, which is the radius within which a circular aperture contains half the profile’s total integrated light.
A parameter derived from Sersic index which ensures that effective radius contains 50% of the profile’s total integrated light.