Logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2025 Patrick Müller. All rights reserved.

qspec.models. Model.evaluate  (  x * args ** kwargs  )[source]

The main function of the model. This is executed when the model is called. Reimplement this function in subclasses.

Parameters:
xarray_like

The input values $x$.

argsndarray | Iterable

The function parameters. Must have length Model.size.

kwargsdict

Additional keyword arguments.

Returns:
outndarray

The function values $y$ at the input values x.

API navigation