SPLINE(1)
π SPLINE(1) β like, the manual, but make it make sense π
User's Reference Manual β¨ (yes bestie, we're reading the actual docs, together, slay)
πΈ NAME πΈ
aspline</purgle> β Akima spline interpolation π¦
β¨ SYNOPSIS β¨
aspline [-a xstep] [-l llim] [-u ulim] [-n n] {file(s)}
π DESCRIPTION π
okay so picture this: aspline reads pairs of numbers from the file(s) you point it at β or straight from stdin if you didn't give it any files at all, no judgment π«Ά β and treats them as the abscissas and ordinates of a function. Cute, right?
Then it spits out a similar set to standard output, which is approximately equally spaced and includes your input set. Iconic behaviour honestly. What you get is an Akima-interpolated spline that has a continuous first derivative. π
β οΈ Heads up bestie: the second derivative may be discontinuous. But the glow-up here is that the output does not wiggle the way it would with cubic splines. That's the whole point. Periodt. π
Datasets are separated by blank lines, iykyk. π
π OPTIONS π
-a incr,--auto=incrβ supply abscissas automatically, because they're missing from the input. The spacing comes from the next argument, or it's assumed to be1if the next argument isn't a number. no cap. π-l llim,--llimit=llimβ set the lower x-limit to llim. π¦-u ulim,--ulimit=ulimβ set the upper x-limit to ulim. π¦-n n,--points=nβ space output points so that approx. n intervals occur between the lower and upper limit. β¨-vβ be verbose. spill the tea, tell me everything π-hβ print the help message on stderr and exit. main character exit behaviour π
π SEE ALSO π
H. Akima, A New Method of Interpolation and Smooth Curve Fitting Based on Local Procedures, Journal of Assc. for Comp. Mach., Vol. 17, No. 4, Oct. 1970, pp. 589β602 π
π BUGS π
If you need a continuous second derivative, use spline from the plotutils package instead. fr fr, this one's not gonna do it for you. π
Debian Β· January 1998 β yeah bestie, this one's vintage, it's giving retro and we're obsessed ππ¦β¨ periodt.
π¦ where this page comes from
- debian bookworm: spline 1.2-5+b1 Β· GPL-2.0-or-later
- debian trixie: spline 1.2-6 Β· GPL-2.0-or-later
- ubuntu jammy: spline 1.2-5 Β· GPL-2.0-or-later
- ubuntu noble: spline 1.2-5 Β· GPL-2.0-or-later
- ubuntu questing: spline 1.2-6
- ubuntu resolute: spline 1.2-6build1 Β· GPL-2.0-or-later
- ubuntu stonking: spline 1.2-6build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms