Skip to main content

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

Metadata

Release files for RefractionShift 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for RefractionShift 0.1.1
File Size Uploaded
RefractionShift-0.1.1.tar.gz 18.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for RefractionShift 0.1.1
File Interpreter ABI Platform
RefractionShift-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 36.8 kB

Release files / RefractionShift-0.1.1.tar.gz

Download URL RefractionShift-0.1.1.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f815b3a95e70f9484f5ff9de26290859f7d24def718a75dfb6fdf15ed0c4822b
BLAKE2b-256 checksum
How to use checksums
d971fc97bb6be055c02d4b1fdb20cccb807ddf6ba8eecf8db2fd9bbaf89fc3f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

Release files / RefractionShift-0.1.1-py3-none-any.whl

Download URL RefractionShift-0.1.1-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83e53ebf7d59a5cd79c3618613ff65d91638b3e68bb28c4bf7870b4f531cc224
BLAKE2b-256 checksum
How to use checksums
557d92532303ad8a885aeac854f2a39f53c849b122545e8b4299665677a7622d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page