SCULIB_SPLINE_PDA_SURFIT

Fit a surface to an irregular grid using the PDA function PDA_SURFIT

Description:

This routine provides a wrapper for the PDA_SURFIT spline interpolation routine. The quirks of the algorithm are dealt with here so that SCULIB_SPLINE_REGRID does not have to know anything about the interpolation routine.

Invocation

CALL SCULIB_SPLINE_PDA_SURFIT (NDP, X_IN, Y_IN, DATA_IN, VARIANCE_IN, NX_OUT, NY_OUT, X_OUT, Y_OUT, DATA_OUT, STATUS)

Arguments

NDP = INTEGER (Given)
Number of data points on irregular grid
S = REAL (Given)
Smoothness factor
X_IN ( NDP ) = REAL (Given)
X coordinates of input data
Y_IN ( NDP ) = REAL (Given)
Y coordinates of input data
DATA_IN ( NDP ) = REAL (Given)
Data values for each X,Y
VARIANCE_IN ( NDP ) = REAL (Given)
Variance for each data value
NX_OUT = INTEGER (Given)
Number of pixels in X direction
NY_OUT = INTEGER (Given)
Number of pixels in Y direction
X_OUT ( NX_OUT ) = REAL (Given)
X coordinates of output points
Y_OUT ( NY_OUT ) = REAL (Given)
Y coordinates of output points
DATA_OUT ( NX_OUT, NY_OUT ) = REAL (Returned)
Output data values
STATUS = INTEGER (Given & Returned)
Global status

Copyright

Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.