Profile

class specsim.source.Profile(half_light_radius, minor_major_axis_ratio, position_angle, sersic_index)[source] [edit on github]

Bases: object

Transverse profile of a single Sersic component of a galaxy.

If any parameters are strings, they will be converted and validated.

Parameters:
half_light_radiusstr or astropy.units.Quantity

Half-light radius of this component with angular units.

minor_major_axis_ratiofloat

Ratio of the minor to major ellipse axes q = a/b, which must be 0 < q <= 1.

position_anglestr or astropy.units.Quantity

Position angle of this component’s major axis with angular units. Angles are measured counter-clockwise from the +x axis of the focal plane coordinate system.

sersic_indexfloat

Sersic index of this component, which must be > 0.

Validate and save Sersic component parameters.