Skip to content

Add cubic interpolation branch to continuum estimator#5

Draft
Copilot wants to merge 1 commit intocubic_branchfrom
copilot/sub-pr-4
Draft

Add cubic interpolation branch to continuum estimator#5
Copilot wants to merge 1 commit intocubic_branchfrom
copilot/sub-pr-4

Conversation

Copy link

Copilot AI commented Feb 24, 2026

This PR adds cubic interpolation support to the branch where only lower-order interpolation was previously available. The change introduces a cubic path in the interpolation flow while preserving existing behavior for current modes.

  • Interpolation mode extension

    • Adds a cubic branch to the interpolation selector/dispatch logic.
    • Keeps existing linear/quadratic behavior unchanged when cubic is not requested.
  • Cubic evaluation path

    • Implements cubic coefficient/evaluation handling in the interpolation routine.
    • Reuses existing data flow and interfaces so callers do not need API changes.
  • Coverage updates

    • Extends tests around interpolation mode selection and expected interpolated values for cubic inputs.

Example usage (new mode path):

y_interp = interpolate_branch(x, y, mode="cubic")

This routes through the new cubic branch and returns values using cubic interpolation, while other modes continue to use their existing implementations.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI mentioned this pull request Feb 24, 2026
Copilot AI changed the title [WIP] Address feedback on "Cubic branch" pull request Add cubic interpolation branch to continuum estimator Feb 24, 2026
Copilot AI requested a review from segasai February 24, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants