Skip to content
forked from anustg/Tracer

Statistical ray-tracing in Python/SciPy. Read our paper about validation of this tool: https://is.gd/WJlzy6

License

Notifications You must be signed in to change notification settings

ovidiopr/Tracer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tracer - a Pythonic ray-tracing package with solar energy focus.

About
-----
Tracer is a ray-tracing engine and suite of tools focused on solar energy 
applications.

The motivation for writing tracer:
* Current solutions lack programmability and extensibility
* Even if you pay megabucks
* De-facto standard tools of the trade are non-free, so bugfixing
  etc. depends on someone else,
* Usability in the solution closest to our budget is poor, and no Linux
  port is available.

Tracer is written in Python, using NumPy and SciPy for the math side of things.

Status
------
The code is advanced enough to produce research. It is currently a programming
library. NO GUI yet.

Current capablilities:
- Flat, parabolic, spherical and conical surfaces
- Specular and diffuse reflections with surface slope error
- A bunch of results analysis tools
- Pillbox and Buie sunshape implementations
- Radiosity sytem solver for thermal emissions
- Basic parallel processing

There are no provisions for spectral response or polarization yet, but the 
package is designed to make it easy to add them, and also to remove unnecessary
features and plug in speed-improving optical and geometrical models that
utilize problem-specific features.

Open-source python magic happens: if you want to do something, you can do it.

Installation
------------
To install Tracer on your system, run the following from the command line:

  python setup.py install

Before installing, make sure that the following dependencies are installed:
- Numpy/Scipy: http://www.scipy.org/scipylib/download.html
- Matplotlib: http://matplotlib.org/downloads.html
- Coin 3D: https://bitbucket.org/Coin3D/coin/downloads
- Git: https://help.github.com/articles/set-up-git/
- Pathos: https://github.com/uqfoundation/pathos

To test that most things are working, run the test-suite in the tests/
subdirectory, using nosetests or some similar tool.

Also check out examples/test_case.py as a starting-point to the code. Running it
requires Matplotlib to be installed.

Getting Help, Getting Involved
------------------------------
Slightly outdated documentation and reference matereial can be found on 
http://yosefm.github.com/tracer/

About

Statistical ray-tracing in Python/SciPy. Read our paper about validation of this tool: https://is.gd/WJlzy6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.5%
  • HTML 2.9%
  • Other 0.6%