fit_fourier_performance_data

hcipy.fourier.fit_fourier_performance_data(complexities, execution_times)

Fit a power-law to the performance data.

Parameters:
complexitiesarray_like

The computational complexities for each of the measurements in GFLOPS.

execution_timesarray_like

The execution times for each of the measurements in ms.

Returns:
coeffsdict of string to float

The optimal parameters for the power-law fit.

funcfunction

The fitted power-law function.