autogalaxy.profiles.light_profiles.SphSersic

class autogalaxy.profiles.light_profiles.SphSersic(centre: 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), intensity: float = 0.1, effective_radius: float = 0.6, sersic_index: float = 4.0)

The spherical Sersic light profile.

Parameters:
  • centre – The (y,x) arc-second coordinates of the profile centre.
  • intensity – Overall intensity normalisation of the light profiles (electrons per second).
  • effective_radius – The circular radius containing half the light of this profile.
  • sersic_index (Int) – Controls the concentration of the of the light profile.

Methods

__init__(centre, float] = (0.0, 0.0), …) The spherical Sersic light profile.
blurred_image_2d_via_convolver_from(grid, …) Evaluate the light profile image on an input Grid2D of coordinates and then convolve it with a PSF using a Convolver object.
blurred_image_2d_via_psf_from(grid, …) Evaluate the light profile image on an input Grid2D of coordinates and then convolve it with a PSF.
cos_and_sin_to_x_axis() Determine the sin and cosine of the angle between the profile’s ellipse and the positive x-axis, counter-clockwise.
eta_u(u, coordinates)
from_axis_ratio_and_phi(centre, …)
grid_angle_to_profile(grid_thetas) The angle between each angle theta on the grid and the profile, in radians.
grid_to_eccentric_radii(grid) 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.
grid_to_elliptical_radii(grid) Convert a grid of (y,x) coordinates to an elliptical radius.
grid_to_grid_cartesian(grid, radius) Convert a grid of (y,x) coordinates with their specified circular radii to their original (y,x) Cartesian coordinates.
grid_to_grid_radii(grid) Convert a grid of (y, x) coordinates to a grid of their circular radii.
image_1d_from(grid, Grid1D, …)
image_2d_from(grid, …) Calculate the intensity of the light profile on a grid of Cartesian (y,x) coordinates.
image_2d_via_radii_from(grid_radii) Calculate the intensity of the Sersic light profile on a grid of radial coordinates.
luminosity_integral(x) Routine to integrate the luminosity of an elliptical light profile.
luminosity_within_circle(radius) Integrate the light profile to compute the total luminosity within a circle of specified radius.
profile_visibilities_via_transformer_from(…)
rotate_grid_from_reference_frame(grid) 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_grid_from_reference_frame(grid) 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_grid_to_reference_frame(grid) 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.

Attributes

angle
axis_ratio
cos_phi
elliptical_effective_radius The effective_radius of a Sersic light profile is defined as the circular effective radius.
half_light_radius
phi_radians
sersic_constant A parameter derived from Sersic index which ensures that effective radius contains 50% of the profile’s total integrated light.
sin_phi