Skip to content

A python module for computing the lateral shift due to atmospheric refraction

License

Notifications You must be signed in to change notification settings

onera/RefractionShift

Repository files navigation

RefractionShift

RefractionShift is a python module for computing the lateral shift due to atmospheric refraction.

Installation

Check first that you have the Python package AstroAtmosphere, otherwise just run:

pip install AstroAtmosphere

then run:

pip install RefractionShift 
python "test_refraction.py"

The file example.py contains a working example.

Usage

This module allows you to calculate the lateral shift with four different methods. First, using numerical integration along the optical path of the light ray. To do so, we employ the two-layer model of the atmosphere, with a constant temperature gradient in the troposphere and nil beyond. In addition, there are three approximations of different order depending on the refractive index and Earth's roundness. Details on the use of the four methods are given in the file example.py.

License

GPL-3.0

Releases

No releases published

Packages

No packages published

Languages