gelsa.sersic_profile#

Functions

sersic_b(n)

Compute the sersic b parameter given the index n

sersic_integrated(r, scale, n)

Return the light integrated to radius r

sersic_profile(r, scale, n)

Classes

SersicProfile([res, rmax, n_min, n_max, ...])

gelsa.sersic_profile.sersic_b(n)[source]#

Compute the sersic b parameter given the index n

Formula from Ciotti & Bertin 1999

Parameters:

n (double) – Sersic index between 0 and 10

Returns:

double

Return type:

b parameter in sersic profile

gelsa.sersic_profile.sersic_integrated(r, scale, n)[source]#

Return the light integrated to radius r

Parameters:
  • r (double) – radius

  • scale (double) – scale radius

  • n (double) – sersic index

Return type:

double