Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Python wrappers for Tsyganenko's geomagnetic field fortran routines
FORTRAN Python
tree: f09351ac15

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
build
tsyganenko
.gitignore
LICENCE
README.md
Tsyganenko - Python examples.ipynb
setup.py

README.md

Tsyganenko Geomagnetic Field Model: Python wrappers

Installation

To install the Tsyganenko python module, from this directory run:

cd tsyganenko
make clean
make
cd ..
sudo python setup.py install

Use

To use this module, simply follow the example provided in the tsygTrace object docstring.

import tsyganenko
tsyganenko.tsygTrace?

You can also use ipython notbook to visualize a more detailed example.

ipython notebook --pylab=inline

If you run the above command from this repository you should see a notebook called 'Tsyganenko - Python examples'. If you run the above command from anywhere on your computer, you can drag and drop the file called 'Tsyganenko - Python examples.ipynb' to the notebok dashboard.

Something went wrong with that request. Please try again.