A python module for computing the lateral shift due to atmospheric refraction
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file RefractionShift-0.1.1.tar.gz.
File metadata
- Download URL: RefractionShift-0.1.1.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f815b3a95e70f9484f5ff9de26290859f7d24def718a75dfb6fdf15ed0c4822b
|
|
| MD5 |
3253e9776da9fcf1aa9f9adb8defe29f
|
|
| BLAKE2b-256 |
d971fc97bb6be055c02d4b1fdb20cccb807ddf6ba8eecf8db2fd9bbaf89fc3f2
|
File details
Details for the file RefractionShift-0.1.1-py3-none-any.whl.
File metadata
- Download URL: RefractionShift-0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83e53ebf7d59a5cd79c3618613ff65d91638b3e68bb28c4bf7870b4f531cc224
|
|
| MD5 |
da790f86e7ea389cb08a9295f0bf2448
|
|
| BLAKE2b-256 |
557d92532303ad8a885aeac854f2a39f53c849b122545e8b4299665677a7622d
|