spleaf.fenrir.SpotsLatDist#
- class spleaf.fenrir.SpotsLatDist(nharm, ndelta, weight, brightening=False)#
FENRIR model with spots/faculae appearing randomly on the star, with the spots’ latitude following an arbitrary distribution.
The integrals on the latitude’s distibution are performed numerically.
- Parameters:
- nharmint
Number of harmonics in the Fourier decomposition.
- ndeltaint
Number of latitude values for the integrals.
- weightfunction
Weight function describing the spots’ latitude distribution.
- brighteningbool
Whether or not a brightening effect should be included in the model (for faculae or mixtures of faculae and spots).
Methods
compute_Fourier
(sig_rv_phot, sig_rv_cb, ...)Compute the Fourier decomposition of the kernel.
kernel
(series_index, decay_kernel, P, ...[, ...])Generate a S+LEAF kernel corresponding to this FENRIR model, to be included in a covariance matrix (
spleaf.cov.Cov
).