aspline(1)

aspline1

Akima spline interpolation

Usage

aspline [-a xstep] [-l llim] [-u ulim] [-n n] file(s)

Overview

aspline reads pairs of numbers from the indicated file(s) (or from stdin if no files were given) as abscissas and ordinates of a function. It produces a similar set, which is approximately equally spaced and includes the input set on standard output. The output is an Akima-interpolated spline which has an continuous first derivative. The second derivate may be discontinuous, but the output does not wiggle as it would do with cubic splines.

Datasets are separated by blank lines.

Options

-a incr, --auto=incr

supply abscissas automatically, since they are missing from the input; spacing is given by the next argument, or is assumed to be 1, if next argument is not a number.

-l llim, --llimit=llim

set lower x-limit to llim,

-u ulim, --ulimit=ulim

set 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,

-h

print help message on stderr and exit.

Releases

Unchanged in 15 releases since Debian 2.0 (Hamm).

  1. 2.0–13

Bugs

If you need a continuous second derivative, use spline from the plotutils package instead.

From spline 1.2-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.