Contents Menu Expand Light mode Dark mode Auto light/dark mode
wilfried library 1.0 documentation
wilfried library 1.0 documentation
  • Required dependencies
  • makeLifeSimpler
  • Useful utilities
    • Colored messages
    • Dictionaries
    • Input/Output
    • List manipulations
    • Strings manipulation
    • Plot utilities
      • Histograms
      • Galfit related plots
      • Miscellaneous
      • Contours
  • Galaxy module
    • Galaxies angular momentum
    • Cosmology computations
    • Galaxies angular momentum
    • Galaxy kinematics
    • Miscellaneous
    • Galaxy mass models
    • Galaxy models
    • Galaxies morphology
      • Sersic fluxes
      • Morphological parameters
      • Galaxies thickness
      • MUSE related functions
      • Other Sersic related functions
    • Galaxies photometry
      • Fluxes, colour excess and attenuation
      • Masses and SFR estimates
      • Magnitude conversions
  • Galfit module
    • Galfit auto-routines
    • Galfit models

Other Sersic related functions¶

galaxy.morphology.centralIntensity(n: Union[int, float], re: float, Ie: Optional[float] = None, mag: Optional[float] = None, offset: Optional[float] = None) → float[source]¶

Code author: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>

Compute the central intensity of a given Sersic profile.

Parameters
  • n (int or float) – Sersic index of the profile

  • re (float) – half-light radius

  • Ie (float) – (Optional) intensity at Re. If None, values for mag and offset must be given instead.

  • mag (float) – (Optional) total magnitude. If None, Ie must be given instead.

  • offset (float) – (Optional) magnitude offset. If None, Ie must be given instead

Returns

central intensity of the Sersic profile

Return type

float

Raises

ValueError – if Ie and mag and offset are None

galaxy.morphology.compute_R22(Red: Union[float, numpy.ndarray], dRed: Optional[Union[float, numpy.ndarray]] = None, b1: Optional[float] = None) → Union[float, numpy.ndarray][source]¶

Code author: Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>

Compute R22 (and its error) given an array of disk effective radii defined as

\[R_{22} = 2.2 \times R_{\rm{d}} / b_1,\]

where \(R_{\rm{d}}\) is the disk effective radius.

Parameters
  • Red (float or ndarray[float]) – disk effective radii

  • b1 (float) – (Optional) b1 factor appearing in the exponential disk profile

  • dRed (float or ndarray[foat]) – (Optional) error estimate on the effective radii

Returns

R22 (and its error)

Return type

float or ndarray[float]

Next
Galaxies photometry
Previous
MUSE related functions
Copyright © 2022, Wilfried Mercier | Built with Sphinx and @pradyunsg's Furo theme. | Show Source