Computes atmospheric refraction in zenith distance.

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

Syntax

C#
public double Refract(
	OnSurface Location,
	RefractionOption RefOption,
	double ZdObs
)
Visual Basic
Public Function Refract ( _
	Location As OnSurface, _
	RefOption As RefractionOption, _
	ZdObs As Double _
) As Double
Visual C++
public:
virtual double Refract(
	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

Atmospheric refraction, 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.

See Also