next up previous 85
Next: ISATM - Reads atomic data from a disk file for use with ISCALC and ISCOG
Up: Command Specifications
Previous: INTEGRATE - Estimates the area under the current arrays


INTERP - Re-grid current arrays onto a regular grid

Syntax:
INTERP n

Description:
Applies Laguerre interpolation to data in the current arrays, to give a regularly sampled data set with the same number of points as the original. The parameter ``n" controls the order of the interpolation.

INTERP does (n-1)th order interpolation, where `n' must be an even number; thus only odd orders greater than zero are handled. For example, n=2 gives 1st order (i.e. linear) interpolation; n=4 gives 3rd order (i.e. quartic) interpolation. (INTERP cannot supply quadratic interpolation, since this would require n=3 and odd values of `n' are not allowed.)

The data must have monotonically increasing X values.

Note that spline interpolation can also be executed, using the CDRAW command.



next up previous 85
Next: ISATM - Reads atomic data from a disk file for use with ISCALC and ISCOG
Up: Command Specifications
Previous: INTEGRATE - Estimates the area under the current arrays

DIPSO --- A friendly spectrum analysis program
Starlink User Note 50
I D Howarth, J Murray, D Mills & D S Berry
5th March 2004
E-mail:starlink@jiscmail.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils