ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

loci: Smooth Cubic Multivariate Local Interpolations

Discussion topics for individual codes
Ada Coda
ASCL Robot
Posts: 879
Joined: Thu May 08, 2014 5:37 am

loci: Smooth Cubic Multivariate Local Interpolations

Postby Ada Coda » Tue Jan 09, 2018 2:56 pm

loci: Smooth Cubic Multivariate Local Interpolations

Abstract: loci is a shared library for interpolations in up to 4 dimensions. It is written in C and can be used with C/C++, Python and others. In order to calculate the coefficients of the cubic polynom, only local values are used: The data itself and all combinations of first-order derivatives, i.e. in 2D f_x, f_y and f_xy. This is in contrast to splines, where the coefficients are not calculated using derivatives, but non-local data, which can lead to over-smoothing the result.

Credit: Füglistaler, Andreas; Pfenniger, Daniel

Site: https://github.com/AFueglistaler/loci

Return to “Astrophysics Source Code Library”

Who is online

Users browsing this forum: No registered users and 9 guests