Peak()

Performs interactive peak fitting

PEAK [w=Workspace] Fit peaks in a workspace

example:

	# Fit peaks from a genie intermdiate file
	>> fit = peak( get(3,"mydata.in3") )
	>> printn fit

Note: See the Peakfit() and Peakgen() commands for more detail.

Peak

The peak command is a high level command built on the powerful Open GENIE peak fitting primitive commands. It operates interactively to allow selection of the bounds of the peak and the form of fit to use. Once fitted the peak parameters of the fit are displayed and made available as a result so that they can be used later. For more control over the fitting process see the Peakgen() and Peakfit() primitive commands.

Parameters:

W (Workspace)

Any valid single spectrum in a workspace.

RESULT = (Workspace)

The result of the Peak() command is a workspace containing the fitting parameters used as well as a description of the type of fit and an algebraic description of the function fitted.