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.models.Offset. guess_offset  (  x ,  y  )[source]

Guess the constant and linear offset parameters of every interval from the edges of a data set.

Parameters:
xarray_like

The x data.

yarray_like

The y data.