qspec logo qspec logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2026 Patrick Müller. All rights reserved.

qspec.analyze. poly  (  x ,  *args  )[source]

A polynomial

$$ f(x) = \sum\limits_{k=0}^n \frac{a_k}{k!}x^k $$

of order n = len(args) - 1 with coefficients args.

Parameters:
xarray_like

The $x$ values.

argsscalar

The coefficients of the polynomial $a_k$.

Returns:
yndarray

The function value $f(x)$.