spleaf.fenrir.SpotsLatDist.compute_Fourier#

SpotsLatDist.compute_Fourier(sig_rv_phot, sig_rv_cb, sig_phot, a180, bar_i, ld_a1, ld_a2, br_center=None, br_a1=None, br_a2=None, **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)

a180float

Relative amplitude of the spots/faculae at the opposite longitude.

bar_ifloat

Complementary inclination of the star (\(\bar{i} = \pi/2 - i\)).

ld_a1, ld_a2float

Quadratic limb-darkening coefficients.

br_center, br_a1, br_a2float

Brightening coefficients (ignored if the brightening is not activated).

**kwargs

Parameters to provide to the weight function.

Returns:
ab(2, nharm + 1, 2, 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.