EPFL-Center-for-Imaging / splinebox

A python package for fitting splines.
BSD 3-Clause "New" or "Revised" License
14 stars 0 forks source link

Protect spline attributes #20

Open faymanns opened 2 months ago

faymanns commented 2 months ago

Some attributes of a spline object, such as closed or basis_function, can be modified after the spline has been created. However, this can be problematic if the control points have already been set. Modifying these attributes should either be restricted or require verification to ensure compatibility with the existing control points.

Padding differences are particularly challenging, especially when the new basis function has a different support size or when switching between open and closed splines.