spleaf.fenrir.SpotsSameLat.compute_Fourier#
- SpotsSameLat.compute_Fourier(sig_rv_phot, sig_rv_cb, sig_phot, a180, bar_i, delta, ld_a1, ld_a2, br_center=None, br_a1=None, br_a2=None)#
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)
- a180float
Relative amplitude of the spots/faculae at the opposite longitude.
- bar_ifloat
Complementary inclination of the star (\(\bar{i} = \pi/2 - i\)).
- deltafloat
Latitude of the spots/faculae.
- ld_a1, ld_a2float
Quadratic limb-darkening coefficients.
- br_center, br_a1, br_a2float
Brightening coefficients (ignored if the brightening is not activated).
- Returns:
- ab(2, nharm + 1, 2) ndarray
Fourier coefficients, 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.