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: (
public double UnRefract(
	OnSurface Location,
	RefractionOption RefOption,
	double ZdObs


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

Return Value

Type: Double
Unrefracted zenith distance in degrees.
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