IRAF help page for package xtools, program peaks

from NOAO peaks -- find the peaks in an array of x and y pointsSYNOPSISDESCRIPTIONSEE ALSO

peaks -- find the peaks in an array of x and y points


SYNOPSIS

npeaks = peaks (x, y, background, npts, dx)
real	x[npts], y[npts]	# Input data points and output peaks
real	background[npts]	# Background estimate
int	npts			# Number of input data points
real	dx			# Precision of peak positions

DESCRIPTION

DESCRIPTION The extrema in the input data points are found using extrema(xtools). The extrema are located to a precision of dx. The extrema with negative curvature (peaks) are selected and returned in the x array. The spline value is returned in the y array. The background is estimated by linear interpolation of the neighboring minima (extrema of positive curvature) to the position of the peak. The background is returned in the background array. The number of peaks found is returned as the function value.


SEE ALSO

xtools.extrema,


This page automatically generated from the iraf .hlp file. If you would like your local iraf package .hlp files converted into HTML please contact Dave Mills at NOAO.

dmills@noao.edu