next up previous index
Next: CROSS: Cross-Correlate Images or Up: Basic Image Processing Previous: SURFACE: Fit a Plane   Index

SPLINE: Replace Image or Spectrum by a Cubic Spline Fit


\begin{command}
\item[\textbf{Form: } SPLINE source {[R=r1,r2,...]} {[C=c1,c2.....
... by the best fitting
spline, instead of replacing by the spline.}
\end{command}

SPLINE is used to fit splines to images or spectra. When used with images, it replaces each row (or column) with splines fitted with designated columns (or rows) as knot points. When used with (wavelength calibrated) spectra, it replaces the spectrum with the best fitting spline with designated columns (Angstroms) as knot points.

Examples:
\begin{example}
\item[SPLINE 11 W=5000,5500,6000,7000\hfill]{ replaces spectrum...
..., 40, ..., and replaces
the spectrum by the best fitting spline.}
\end{example}

Example using images:


\begin{example}
\item[SPLINE 11 C=20,40,100,300,500 AVG=10\hfill]{ this command...
...the image intensity in 10 channel
bins around columns 20, 40,...}
\end{example}



Jon Holtzman 2002-02-13