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. const  (  x ,  a  )[source]

A constant

$$ f(x) = a. $$
Parameters:
xarray_like

The $x$ values.

aarray_like

The y-intercept $a$.

Returns:
yndarray

The function value $f(x)$.