CApphot:Mag CApphot:MagErrorT

CApphot:MagError


Returns the value of the magnitude uncertainty resulting from the photometry measurement. The value returned is the nMagError class member set by the Measure method. There are two alternate names for this method and both return the same quantity.

Syntax

nMagError = CApphot:MagError()

nMagError = CApphot:MagErr()

    nMagError is the uncertainty of the magnitude (see Mag).

Remarks

The Measure method computes the uncertainty of the magnitude and saves it as the nMagError member of the class data structure. The value of nMagError is returned by the present method This value is calculated using the statistical variation in the background sample as well as various instrumental parameters. In contrast, the MagErrorT method returns a theoretical calculation of the magnitude uncertainty which uses photon statistics rather than the noise in the background sample.

Related Topics

CApphot, Class Data Members, Measure, Mag, MagErrorT