gelsa.galaxy_profiles#

Functions

bulge(r, r50)

De Vaucouleurs profile

bulge_integrated(r, r50)

Cumulative integral of De Vaucouleurs profile

disk(r, r50)

Disk profile

disk_integrated(r, r50)

Cumulative integral of exponential disk profile

gelsa.galaxy_profiles.disk(r, r50)[source]#

Disk profile

Parameters:
Returns:

profile

Return type:

double

gelsa.galaxy_profiles.disk_integrated(r, r50)[source]#

Cumulative integral of exponential disk profile

Notes

The integrated profile is

\[F(x) = 1 - \left(1+x\right)e^{-x}\]
Parameters:
Returns:

profile

Return type:

double

gelsa.galaxy_profiles.bulge(r, r50)[source]#

De Vaucouleurs profile

Parameters:
  • r (numpy.ndarray) – radius coordinate

  • r50 (float) – half-light radius of bulge profile

Returns:

profile

Return type:

numpy.ndarray

gelsa.galaxy_profiles.bulge_integrated(r, r50)[source]#

Cumulative integral of De Vaucouleurs profile

Notes

The integrated profile is

\[F(x) = 1 - e^{-x} \left(1 + \sum_{i=1}^{7} \frac{x^{i}}{i!} \right)\]
Parameters:
  • r (numpy.ndarray) – radius coordinate

  • r50 (float) – half-light radius of bulge profile

Returns:

profile

Return type:

numpy.ndarray