Produced by IDL 7.1.1
Developer Documentation

./toolbox
gaussrespfn.pro

Last modification date:
Wed Sep 28 13:27:14 2016

gaussrespfn private

function gaussrespfn(r, fwhm)

Gaussian response function.

This is simply a gaussian function centered at 0.0 with a given FWHM in channels. It is used in esthanres and estboxres to estimate the new frequeny_resolution for hanning and boxcar smoothing using the old frequency_resolution. Those methods assume a gaussian response function of FWHM = old frequency_resolution. This function supplies those values. The gaussian has a height of 1.0 at the center.

Returns
The Gaussian evaluated at r.
Version
$Id$

Parameters
r
in, required
float
The distance from the center in the same units as fwhm. r may be a vector.
fwhm
in, required
float
The full width and half maximum of the gaussian in the same units as r.


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:23 2016