Skip to content

PhilNyeThePhysicsGuy/refraction_render

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

refraction rendering

This is a python package which is a very simple ray tracer which allows the user to ray trace simple topographical data as well as images in the presence of atmospheric refraction. The package includes tools to calculate the standard atmospheric model for an arbitrary temperature profile. From this profile it can generate an index of refraction profile. The Rays trajectories are solved for using Fermat's principle.

This is a python package which uses SciPy, NumPy, Numba, pyproj, six, and tqdm so make sure these packages are installed before installing this code. Another useful package is gdal, this is not a requirement to run this code however it is sueful for loading topographical data into python.

To install simply download the code and from the top directory run python setup.py install. To record the installation directory add the option --record <file_name> to record the installation path to a file. On unix systems one can easily uninstall the package by running cat <file_name> | xargs rm -rf.

Check out the documentation at https://philnyethephysicsguy.github.io/refraction_render/

About

python library to render images on a sphere and flat plane with atmospheric refraction.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages