SetNoise

Syntax

Document.SetNoise ( [ ElectronsPerADU [, Background [,
                  BlackLevelOffset [,
Uniform ]]]] )

Parameters

VARIANT (float) ElectronsPerADU - specifies the electron gain of the camera used to take the image

VARIANT (float) Background - specifies the average background level of the image

VARIANT (float) BlackLevelOffset - specifies the black level offset of the image

VARIANT (float) Uniform - specifies the uniform noise level of the image

Returns

Nothing

Remarks

Call this method to specify image noise statistics after initializing deconvolution but prior to performing the first iteration.

ElectronsPerADU specifies the gain of the camera. If omitted or set to Empty, the value specified by the EGAIN entry in the FITS header is used, if it exists. Failing this, the value last used by deconvolution is retained. Note that this might have been set manually via the GUI.

Background specifies the average background noise in the image. If omitted or set to Empty, the image is analyzed to determine the noise automatically.

BlackLevelOffset specifies the value of any offset that was added to the image before deconvolution. If omitted or set to Empty, it defaults to the negative of the value of the PEDESTAL keyword in the FITS header, if present. Otherwise it defaults to zero.

Uniform specifies the uniform noise level in the image, which is well modelled by the standard deviation of the pixel values in a part of the image that contains no detail. If omitted or set to Empty, a value is determined automatically.

For more information on how to use this method, refer to Deconvolve.

This method is equivalent to the Noise Model tab of the Deconvolve command.