aboutsummaryrefslogtreecommitdiff
path: root/math/iminterp/doc/asifit.hlp
blob: bcd1fdc8f1650383782a040b3bf5960e546cf18f (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
.help asifit Dec98 "Image Interpolator Package"
.ih
NAME
asifit - fit the interpolant to data
.ih
SYNOPSIS
asifit (asi, datain, npix)

.nf
    pointer	asi		#I interpolant descriptor
    real	datain[npix]	#I input data
    int		npix		#I the number of data points
.fi
.ih
ARGUMENTS
.ls asi   
Pointer to sequential interpolant descriptor structure.
.le
.ls datain
Array of input data.
.le
.ls npix    
Number of data points.
.le
.ih
DESCRIPTION
The datain array is checked for size, memory is allocated for the coefficient
array, and the end conditions are specified.  The interior polynomial, sinc and
drizzle interpolants are saved as the data points. The polynomial coefficients
are calculated directly from the data points in the evaluation stage. The
B-spline coefficients are calculated in ASIFIT as they depend on the entire
data array. 
.ih
NOTES
Checking for INDEF valued and out of bounds pixels is the responsibility
of the user. ASIINIT or ASISINIT and ASIFIT must be called before using
ASIEVAL, ASIVECTOR, ASIDER or ASIGRL.
.ih
SEE ALSO
.endhelp