autogalaxy.profiles.light.linear.ExponentialCore#
- class ExponentialCore[source]#
Bases:
ExponentialCore,LightProfileLinearThe elliptical cored-Exponential light profile.
- Parameters:
centre (
Tuple[float,float]) – The (y,x) arc-second coordinates of the profile centre.ell_comps (
Tuple[float,float]) – The first and second ellipticity components of the elliptical coordinate system.effective_radius (
float) – The circular radius containing half the light of this profile.sersic_index – Controls the concentration of the profile (lower -> less concentrated, higher -> more concentrated).
radius_break (
float) – The break radius separating the inner power-law (with logarithmic slope gamma) and outer Sersic function.gamma (
float) – The logarithmic power-law slope of the inner core profilesalpha (
float) – Controls the sharpness of the transition between the inner core / outer Sersic profiles.
Methods
angleThe 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).
angle_radiansThe 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).
angle_to_profile_grid_fromThe angle between each angle theta on the grid and the profile, in radians.
axis_ratioThe ratio of the minor-axis to major-axis (b/a) of the ellipse defined by profile (0.0 > q > 1.0).
blurred_image_2d_fromEvaluate the light object's 2D image from a input 2D grid of coordinates and convolve it with a PSF.
eccentric_radii_grid_fromConvert a grid of (y,x) coordinates to an eccentric radius: :math: axis_ratio^0.5 (x^2 + (y^2/q))^0.5
elliptical_radii_grid_fromConvert a grid of (y,x) coordinates to their elliptical radii values: :math: (x^2 + (y^2/q))^0.5
hasReturns True if any attribute of this profile is an instance of the input class cls, else False.
image_2d_fromReturns the Sersic light profile's 2D image from a 2D grid of Cartesian (y,x) coordinates.
image_2d_via_radii_fromReturns 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.
intensity_primeOverall intensity normalisation in the rescaled cored Sersic light profile.
lp_instance_fromCreates an instance of a linear light profile using its parent normal light profile (e.g. the non linear variant which has an intensity parameter).
luminosity_integralRoutine to integrate the luminosity of an elliptical light profile.
luminosity_within_circle_fromIntegrate the light profile to compute the total luminosity within a circle of specified radius.
padded_image_2d_fromEvaluate 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.
parameters_dict_fromReturns a dictionary of the parameters of the linear light profile with the intensity added.
radial_grid_fromConvert a grid of (y, x) coordinates, to their radial distances from the profile centre (e.g. :math: r = sqrt(x**2 + y**2)).
rotated_grid_from_reference_frame_fromRotate 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.
transformed_from_reference_frame_grid_fromTransform a grid of (y,x) coordinates from the reference frame of the profile to the original observer reference frame.
transformed_to_reference_frame_grid_fromTransform a grid of (y,x) coordinates to the reference frame of the profile.
unmasked_blurred_image_2d_fromEvaluate 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.
visibilities_fromEvaluate 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.
Attributes
coefficient_tagA short string tag used to label the intensity coefficient when this profile is used inside a Basis object (e.g. for multi-Gaussian expansion or shapelet decomposition).
elliptical_effective_radiusThe 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.
half_light_radiusThe radius that contains half of the total light of the profile (the half-light radius).
regularizationsersic_constantA parameter derived from Sersic index which ensures that effective radius contains 50% of the profile's total integrated light.
standard_lp_parentReturns the first parent class of the linear light profile which is not a linear light profile itself.