CImSynthInfo:Class Properties


The CImSynthInfo class has properties that control the creation of synthetic images by the CImage:CreateSynth method. Properties in the table below are accessed using the dot operator on the CImSynthInfo object, for example, S.nRows. These properties have default values that will permit a synthetic image to be created but which you usually will want to change to suit your application. It is often useful to load prior values into the script or save current values from the script using the CRegistry class.

CImSynthInfo Class Properties

nCols

The number of columns in the synthetic image. Defaults to 1024.

nRows

The number of rows in the synthetic image. Defaults to 1024.

sDataType

The datatype of the synthetic image. Defaults to "ushort".

sBgValue

The background value, measured in "counts". Defaults to 1000.

sAdditiveNoise

Additive noise which is not one of the other noise types, measured in units of electrons. Defaults to "0".

nGain

The system gain, in electrons per count. Defaults to 2.

nReadNoise

The Readout noise, measured in electrons. Defaults to 10.

nStarCount

The number of stars to add to the synthetic image. Defaults to 0.

nFwhm

The FWHM of point sources in the synthetic image, measured in pixels. Defaults to 2.5 pixels.

Related Topics

new

CImSynthInfo Class

CImage:CreateSynth

Script Classes

Mira Data Types