spleaf.fenrir.SpotsOppLatMag#
- class spleaf.fenrir.SpotsOppLatMag(nharm, brightening=False)#
FENRIR model with spots/faculae appearing randomly on the star but always at the two same latitudes \(\pm\delta\), and including the effect of the magnetic cycle.
- Parameters:
- nharmint
Number of harmonics in the Fourier decomposition.
- 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.
compute_Fourier_back
(grad_per, grad_mag)Backward propagation of the gradient for
compute_Fourier()
.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
).