Click or drag to resize
AstroUtilsUnRefract Method
Computes atmospheric refraction in zenith distance.

Namespace: ASCOM.Astrometry.AstroUtils
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax
public double UnRefract(
	OnSurface Location,
	RefractionOption RefOption,
	double ZdObs
)

Parameters

Location
Type: ASCOM.AstrometryOnSurface
Structure containing observer's location.
RefOption
Type: ASCOM.AstrometryRefractionOption
1 ... Use 'standard' atmospheric conditions; 2 ... Use atmospheric parameters input in the 'Location' structure.
ZdObs
Type: SystemDouble
Observed zenith distance, in degrees.

Return Value

Type: Double
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