spleaf.fenrir.SpotsLatDistMagInterpolator.compute_Fourier#
- SpotsLatDistMagInterpolator.compute_Fourier(sig_rv_phot, sig_rv_cb, sig_phot, mag_ratio, a180, **kwargs)#
Compute the Fourier decomposition of the kernel.
- Parameters:
- sig_rv_phot, sig_rv_cb, sig_photfloat
Amplitudes of the three modeled effects (photometric and convective blueshift effects on radial-velocity, photometric effect)
- mag_ratiofloat
Relative amplitude of the magnetic cycle related activity with respect to the rotation period related activity.
- a180float
Relative amplitude of the spots/faculae at the opposite longitude.
- **kwargs
Parameters at which to compute the interpolation.
- Returns:
- per_ab(2, nharm + 1, 2, 2) ndarray
Fourier coefficients for the rotation period related effects, ordered such as ab[0, 2, 0] and ab[0, 2, 1] are the cosine coefficients of the second harmonics of the RV and photometric timeseries respectively, while ab[1] are the sine coefficients.
- mag_ab(2, 1, 2, 1) ndarray
Fourier coefficients for the magnetic cycle related effects.