Computes atmospheric refraction in zenith distance.

Namespace: ASCOM.Astrometry.AstroUtils
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public double UnRefract(
	OnSurface Location,
	RefractionOption RefOption,
	double ZdObs
)
Visual Basic
Public Function UnRefract ( _
	Location As OnSurface, _
	RefOption As RefractionOption, _
	ZdObs As Double _
) As Double
Visual C++
public:
virtual double UnRefract(
	OnSurface Location, 
	RefractionOption RefOption, 
	double ZdObs
) sealed

Parameters

Location
Type: ASCOM.Astrometry..::..OnSurface
Structure containing observer's location.
RefOption
Type: ASCOM.Astrometry..::..RefractionOption
1 ... Use 'standard' atmospheric conditions; 2 ... Use atmospheric parameters input in the 'Location' structure.
ZdObs
Type: System..::..Double
Observed zenith distance, in degrees.

Return Value

Unrefracted zenith distance in degrees.

Remarks

This version computes approximate refraction for optical wavelengths. This function can be used for planning observations or telescope pointing, but should not be used for the reduction of precise observations.

Note: Unlike the NOVAS Refract method, Unrefract returns the unrefracted zenith distance itself rather than the difference between the refracted and unrefracted zenith distances.

See Also