limb_darkening

limb_darkening.linear(mu, c, i0=1.0)[source]

Calculates the intensity of a given cell in the stellar surface using a linear limb-darkening law.

Parameters
mu (``float`` or ``numpy.ndarray``):

Cosine of the angle between a line normal to the stellar surface and the line of sight.

c (``float``):

Limb-darkening coefficient.

i0 (``float``, optional):

Intensity without limb-darkening. Default is 1.0.

Returns
i_mu (float or numpy.ndarray):

Intensity with limb-darkening. The format is the same as the input mu.

limb_darkening.quadratic(mu, c, i0=1.0)[source]

Calculates the intensity of a given cell in the stellar surface using a quadratic limb-darkening law.

Parameters
mu (``float`` or ``numpy.ndarray``):

Cosine of the angle between a line normal to the stellar surface and the line of sight.

c (``array-like``):

Limb-darkening coefficients in the order c1, c2.

i0 (``float``, optional):

Intensity without limb-darkening. Default is 1.0.

Returns
i_mu (float or numpy.ndarray):

Intensity with limb-darkening. The format is the same as the input mu.

limb_darkening.square_root(mu, c, i0=1.0)[source]

Calculates the intensity of a given cell in the stellar surface using a square-root limb-darkening law.

Parameters
mu (``float`` or ``numpy.ndarray``):

Cosine of the angle between a line normal to the stellar surface and the line of sight.

c (``array-like``):

Limb-darkening coefficients in the order c1, c2.

i0 (``float``, optional):

Intensity without limb-darkening. Default is 1.0.

Returns
i_mu (float or numpy.ndarray):

Intensity with limb-darkening. The format is the same as the input mu.

limb_darkening.logarithmic(mu, c, i0=1.0)[source]

Calculates the intensity of a given cell in the stellar surface using a logarithmic limb-darkening law.

Parameters
mu (``float`` or ``numpy.ndarray``):

Cosine of the angle between a line normal to the stellar surface and the line of sight.

c (``array-like``):

Limb-darkening coefficients in the order c1, c2.

i0 (``float``, optional):

Intensity without limb-darkening. Default is 1.0.

Returns
i_mu (float or numpy.ndarray):

Intensity with limb-darkening. The format is the same as the input mu.

limb_darkening.exponential(mu, c, i0=1.0)[source]

Calculates the intensity of a given cell in the stellar surface using an exponential limb-darkening law.

Parameters
mu (``float`` or ``numpy.ndarray``):

Cosine of the angle between a line normal to the stellar surface and the line of sight.

c (``array-like``):

Limb-darkening coefficients in the order c1, c2.

i0 (``float``, optional):

Intensity without limb-darkening. Default is 1.0.

Returns
i_mu (float or numpy.ndarray):

Intensity with limb-darkening. The format is the same as the input mu.

limb_darkening.sing_three(mu, c, i0=1.0)[source]

Calculates the intensity of a given cell in the stellar surface using the Sing et al (2009) limb-darkening law.

Parameters
mu (``float`` or ``numpy.ndarray``):

Cosine of the angle between a line normal to the stellar surface and the line of sight.

c (``array-like``):

Limb-darkening coefficients in the order c1, c2, c3.

i0 (``float``, optional):

Intensity without limb-darkening. Default is 1.0.

Returns
i_mu (float or numpy.ndarray):

Intensity with limb-darkening. The format is the same as the input mu.

limb_darkening.claret_four(mu, c, i0=1.0)[source]

Calculates the intensity of a given cell in the stellar surface using the Claret et al. (2000) limb-darkening law.

Parameters
mu (``float`` or ``numpy.ndarray``):

Cosine of the angle between a line normal to the stellar surface and the line of sight.

c (``array-like``):

Limb-darkening coefficients in the order c1, c2, c3, c4.

i0 (``float``, optional):

Intensity without limb-darkening. Default is 1.0.

Returns
i_mu (float or numpy.ndarray):

Intensity with limb-darkening. The format is the same as the input mu.