- qspec.models.Offset ( model = None , x_cuts = None , offsets = None )[source]
Cuts the x-axis and adds y-axis offsets to every segment.
- Parameters:
-
- modelqspec.models._base.Model
The submodel the offset will be added to. If None, the offset will be added to zero.
- x_cutsIterable[scalar_like]
x values where to cut the x-axis.
- offsetsIterable[scalar_like]
A list of maximally considered polynomial orders for each slice. The list must have length len(x_cuts) + 1.