Skip to content

Cubic interpolation #24

Description

@ajwheeler

We are currently linearly interpolating partition functions and equilibrium constants. I recently went to change this, but quickly realized that Interpolations.jl does not support cubic interpolation over a non-regular grid, even in 1D. At one point there was some effort to fix this, but it seems to have stagnated. I tested CubicSplines.jl and can verify that it works and plugs easily into SSSynth, but it's not a popular package and I worry that it might have undiscovered bugs or go unmaintained. I see a few options:

  • Try to get what we need into Interpolations.jl by doing it ourselves (probably not worth it)
  • Using CubicSplines.jl
  • Writing our own cubic spline into SSSynth. This is probably easier than getting it into interpolations, and it would reduce our dependencies.
  • Wait. Maybe the problem will solve itself? Maybe linear interpolation is fine? I believe the Barklem & Collet data is intended to be interpolated with a cubic spline, but I'm not sure if we need that level of precision.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions