caustics.light.func package#
Submodules#
caustics.light.func.sersic module#
- caustics.light.func.sersic.k_lenstronomy(n: ArrayLike) ArrayLike[source]#
Computes the value of k for the Sersic profile, as used in the lenstronomy package.
- Parameters:
n (ArrayLike) –
The Sersic index, which describes the degree of concentration of the source.
Unit: unitless
- Returns:
k – The value of k for the Sersic profile.
Unit: unitless
- Return type:
ArrayLike
- caustics.light.func.sersic.k_sersic(n: ArrayLike) ArrayLike[source]#
Computes the value of k for the Sersic profile.
- Parameters:
n (ArrayLike) –
The Sersic index, which describes the degree of concentration of the source.
Unit: unitless
- Returns:
k – The value of k for the Sersic profile.
Unit: unitless
- Return type:
ArrayLike
caustics.light.func.star_source module#
Module contents#
- caustics.light.func.k_lenstronomy(n: ArrayLike) ArrayLike[source]#
Computes the value of k for the Sersic profile, as used in the lenstronomy package.
- Parameters:
n (ArrayLike) –
The Sersic index, which describes the degree of concentration of the source.
Unit: unitless
- Returns:
k – The value of k for the Sersic profile.
Unit: unitless
- Return type:
ArrayLike
- caustics.light.func.k_sersic(n: ArrayLike) ArrayLike[source]#
Computes the value of k for the Sersic profile.
- Parameters:
n (ArrayLike) –
The Sersic index, which describes the degree of concentration of the source.
Unit: unitless
- Returns:
k – The value of k for the Sersic profile.
Unit: unitless
- Return type:
ArrayLike