exa.core.util.model_functions.fit_cos# fit_cos(phase, signal)# Fits phase sweep with a cosine function. Parameters: phase (Iterable) – 1D array of the phase signal (Iterable) – 1D array of signal Returns: Dictionary containing fit parameters Return type: dict[str, Any]