Skip to content
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

  1. 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)

  2. 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)
  1. Choose parameters for simulation in ray_param.dat

  2. Open your command line and start ipython

  3. In the ipython terminal execute "run ray_main.py"

  4. Wait for the results to appear in a graphical windows

Clone this wiki locally