blob: 0c27ffbca73cc5a518c3be96acbd6627f434c06b (
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 asider Dec98 "Image Interpolator Package"
.ih
NAME
asider -- evaluate the interpolant derivatives at x
.ih
SYNOPSIS
asider (asi, x, der, nder)
.nf
pointer asi #I interpolant descriptor
real x[2] #I x value, 1 <= x[1-2] <= npix
real der[] #O der[1] = interpolant, der[2] = 1st derivative
int nder #I number of derivatives
.fi
.ih
ARGUMENTS
.ls asi
Pointer to the sequential interpolant descriptor.
.le
.ls x
Single X value, or pair of X values defining a range in the case of
the drizzle interpolant.
.le
.ls der
Array containing the derivatives. Der[1] = interpolant at x, der[2] the
first derivative of the interpolant at x and so on.
.le
.ls nder
Number of derivatives. Nder = 1 + order of the maximum desired derivative.
ASIDER checks that nder is reasonable. The sinc interpolant returns the
interpolant value and first two derivatives. The drizzle interpolant returns
the interpolant value and the first derivative.
.le
.ih
DESCRIPTION
The polynomial coefficients are evaluated directly from the data points
for the polynomial interpolants and from the B-spline coefficients
for the cubic spline interpolant. The derivatives are evaluated from
the polynomial coefficients using nested multiplication. The sinc
derivatives are analytic but are defined only for the first two derivatives.
The drizzle derivative is an approximation defined for the first derivative
only.
.ih
NOTES
ASIDER checks that the number of derivatives requested is reasonable.
Checking for out of bounds and INDEF valued pixels is the responsibility
of the user. ASIINIT or ASISINIT and ASIFIT must be called before ASIDER
is called.
.ih
SEE ALSO
asieval, asivector, arieval, arider
.endhelp
|