ENH: Allow `Splinterpolator` instances to be created from an existing set of spline coefficients, and extend extrapolation options
- The
Splinterpolator
class can now accept a pointer to an array of pre-calculated coefficients - in this case, a copy of the pointer is used (the data is not copied), and pre-filtering (coefficient calculation) is skipped - New
SoftZeros
extrapolation method - out of bounds coefficients will be set to zero, but out-of-bounds coordinates will still be constructed via interpolation. This differs from the existingZeros
extrapolation method, where out-of-bounds coordinates are forced to zero. - Adjustment to the coefficient initialisation method used when
Constant
extrapolation is requested; previously, a mirroring boundary condition was used. - New
Splinterpolator::Copy
function, which allows the spline coefficients to be copied/extracted.
Edited by Paul McCarthy
Merge request reports
Activity
added 1 commit
- e382b4d2 - ENH: Adjust logic so that Splinterpolator can be created with pre-calculated coefficeints
added 1 commit
- 15056b3f - ENH: New function to copy spline coefficients
added 1 commit
- bc2d8fd8 - MNT: Safeguard against being passed a bad value for nthr
added 1 commit
- c5db17e9 - BF: Fix bug in code that controls which adjacent spline coefficients to
added 7 commits
- 37d81a52 - BF: Fix bug in code controlling which adjacent spline coefficients to use when interpolating
- 7c9e4d9f - MNT: Normalise indentation
- 5f6e7866 - MNT: remove obsolete debugging macros and statements
- 21e96427 - ENH: Scaffolding for ability to create a Splinterpolator instance from an
- 7aca4d08 - ENH: Adjust logic so that Splinterpolator can be created with pre-calculated coefficeints
- bc36e2a1 - ENH: New function to copy spline coefficients
- 504770d8 - MNT: Safeguard against being passed a bad value for nthr
Toggle commit listadded 1 commit
- dc101478 - ENH,RF: Implement clamped extrapolation boundary condition for coefficient initialisation
added 1 commit
- b5d7de25 - ENH: NEW "SoftZeros" extrapolation method, which sets out-of-bounds locations
mentioned in merge request MMORF!21
added 10 commits
- fce635f9 - BF: Fix start index selection for even order interpolation
- 290eb875 - MNT: Normalise indentation
- 26d6e047 - MNT: remove obsolete debugging macros and statements
- 3c9651fe - ENH: Scaffolding for ability to create a Splinterpolator instance from an
- 34d41608 - ENH: Adjust logic so that Splinterpolator can be created with pre-calculated coefficeints
- 0b7ca0db - ENH: New function to copy spline coefficients
- 197f9d63 - MNT: Safeguard against being passed a bad value for nthr
- 433217f8 - ENH,RF: Implement clamped extrapolation boundary condition for coefficient initialisation
- ba42d0b6 - ENH: NEW "SoftZeros" extrapolation method, which sets out-of-bounds locations
- 576da60c - TEST: Unit tests for splinterpolator
Toggle commit list
Please register or sign in to reply