spleaf.fenrir.SpotsLatDistMag#
- class spleaf.fenrir.SpotsLatDistMag(nharm, ndelta, weight, brightening=False, normalized=True)#
FENRIR model with spots/faculae appearing randomly on the star, with the spots’ latitude following an arbitrary distribution, and including the effect of the magnetic cycle.
- 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).
- normalizedbool
Whether or not the Fourier decomposition should be normalized.
Methods
compute_Fourier
(sig_rv_phot, sig_rv_cb, ...)Compute the Fourier decomposition of the kernel.
kernel
(series_index, decay_kernel, ...[, ...])Generate a S+LEAF kernel corresponding to this FENRIR model, to be included in a covariance matrix (
spleaf.cov.Cov
).