-
Notifications
You must be signed in to change notification settings - Fork 8
Home
protoplanet edited this page Dec 31, 2016
·
5 revisions
Welcome to the raytracing wiki!
Short description of this ray tracing code
Python implementation of ray tracing equations stated in PhD thesis of Rice (1997)
Electron/proton stratification according to Yabroff (1961) + IRI model available
Geometry is 2D polar
How to start using the code
-
Download and install python e.g. use the Anaconda distribution https://www.continuum.io/downloads (It has all the required depedencies and all required libraries ready to go)
-
Download the entire source code consisting of:
- ray_main.py (main code)
- ray_fnct.py (functions used by the main code)
- ray_cmks.py (definitions of required physical constants)
- ray_plot.py (functions for plotting)
- ray_param.py (parameter file for the ray tracing)
- IRI folder (contains test IRI model)
-
Choose parameters for simulation in ray_param.dat
-
Open your command line and start ipython
-
In the ipython terminal execute "run ray_main.py"
-
Wait for the results to appear in a graphical windows