spleaf.fenrir.SpotsLatDistInterpolator.create#

static SpotsLatDistInterpolator.create(basename, nharm, ndelta, weight, fixed, grid, brightening=False)#

Compute the Fourier decomposition on a grid using SpotsLatDist.compute_Fourier().

Parameters:
basenamestr

Basename for the files used to store the grid.

nharmint

Number of harmonics in the Fourier decomposition.

ndeltaint

Number of latitude values for the integrals.

weightfunction

Weight function describing the spots’ latitude distribution.

fixeddict

Dictionary of fixed parameters and their values, to be passed to SpotsLatDist.compute_Fourier().

griddict

Dictionary associating to each explored parameters the ndarray of values to be taken by this parameters to generate the grid.

brighteningbool

Whether or not a brightening effect should be included in the model (for faculae or mixtures of faculae and spots).