Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/gipsy/sub/gaussn.dc2
Дата изменения: Wed Apr 17 19:25:23 1996
Дата индексирования: Fri Jan 16 01:15:36 2009
Кодировка:

Function: GAUSSN

Purpose: GAUSSN computes the value of an N-component Gaussian

Files: gaussn.dc2,gaussn.shl

Author: Peter Roelfsema

Category: UTILITY

Call:

GX=GAUSSN(X,PAR,NPAR)

Input parameters:
X -R -running coordinate.
PAR -R -array defined as follows: PAR(0:NPAR*3) that
contains the parameters for the Gaussian in the following
order:

PAR(0) -zerolevel
PAR(1) -PAR(3) -int, pos. of peak, fwhm cmp. 1
. .
PAR(1+3*n)-PAR(3+3*n)-int, pos. of peak, fwhm cmp. n-1
etc
NPAR -I -number of components.

Use:
GAUSSN gives the value of a multi-component gaussian.
Note that the Gaussian components are defined in terms of
their Intensity, centre coordinate and Full Width at Half
Maximum ( i.e. not in terms of amplitude and sigma ! ).


Call:

CALL DGAUSN(X,PAR,DERIV,NPAR) ( entry point in GAUSSN )

Input parameters:
X -R -running coordinate.
PAR -R -array defined as follows: PAR(0:NPAR*3) that
contains the parameters for the Gaussian in the following
order:

PAR(0) -zerolevel
PAR(1) -PAR(3) -int, pos. of peak, fwhm cmp. 1
. .
PAR(1+3*n)-PAR(3+3*n)-int, pos. of peak, fwhm cmp. n-1
etc
NPAR -I -number of components.
Output parameters:
DERIV -R -array defined as follows: DERIV(0:NPAR*3) that
contains the partial derivatives in the following order:
DERIV(0) -part. deriv of zerolevel
DERIV(1)-DERIV(3) -part. derivs. of cmp. 1
. .
DERIV(1+3*n)-DERIV(3+3*n)-part. derivs. of cmp. n-1
etc


Use:
DGAUSN gives the partial derivatives for the gaussian.
Note that the Gaussian components are defined in terms of
their Intensity, centre coordinate and Full Width at Half
Maximum ( i.e. not in terms of amplitude and sigma ! ).


Update History:
8- 7-85-PRR.-original document
16- 6-86-PRR.-converted for VAX8600
26- 2-92-PRR.-converted to new GIPSY