blob: 95bac138417d487c41e22edd97892f5cf86d30c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
.help asivector Dec98 "Image Interpolator Package"
.ih
NAME
asivector -- evaluate the interpolant
.ih
SYNOPSIS
asivector (asi, x, y, npix)
.nf
pointer asi #I interpolator descriptor
real x[npix/2*npix] #I x array, 1 <= x[i] <= npix
real y[npix] #O array of interpolated values
int npix #I number of x values
.fi
.ih
ARGUMENTS
.ls asi
Pointer to the sequential interpolator descriptor structure.
.le
.ls x
Array of npix x values, or array of npix x ranges if the interpolant is
drizzle.
.le
.ls y
Array of interpolated values.
.le
.ls npix
The number of x values.
.le
.ih
DESCRIPTION
The polynomial coefficients are calculated directly from the data points
for the polynomial interpolants, and from the B-spline coefficients for
the cubic spline interpolant. The actual calculation is done by adding and
multiplying terms according to Everett's central difference interpolation
formula. The boundary extension algorithm is projection.
The sinc interpolant is computed using a range of data points around
the desired position. Look-up table sinc interpolation is computed
using the most appropriate entry in a precomputed look-up table.
The boundary extension algorithm is nearest neighbor.
The drizzle interpolant is computed by summing the data over the user
supplied X intervals.
.ih
NOTES
Checking for out of bounds and INDEF valued pixels is the responsibility of the
user. ASIINIT or ASISINIT and ASIFIT must be called before calling ASIVECTOR.
.ih
SEE ALSO
asieval, asider, arieval, arider
.endhelp
|