spleaf.fenrir.SpotsLatDistMag.compute_Fourier#

SpotsLatDistMag.compute_Fourier(sig_rv_phot, sig_rv_cb, sig_phot, mag_ratio, 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)

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.

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).

**kwargs

Parameters to provide to the weight function.

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.