Skip to content

Wincolin/analysator

 
 

Repository files navigation

# Installation:
#################################################
#################################################

# Install dependencies:
sudo apt-get install mayavi2 python-matplotlib python-numpy python-scipy ipython

# Set pythonpath environment variable:
echo "export PYTHONPATH=$PYTHONPATH:$HOME/analysator" >> $HOME/.bashrc

# Using Analysator:
#################################################
#################################################
module load mayavi2   # Load mayavi2 dependencies, if necessary (e.g. CSC system)
ipython               # Start ipython
import pytools as pt  # Import Analysator


# Navigating functions:
pt.calculations.pitch_angles? #press [Enter]
pt.vlsvfile.VlsvReader? #press [Enter]
pt.plot.plot_colormap? #press [Enter]
pt.plot.plot_vdf? #press [Enter]


# For non-interactive mode (also when no X is available):
# set the environment variable PTNONINTERACTIVE to any value before launching
# python/ipython. If in interactive mode, experimental non-blocking
# windows via matplotlib.pyplot.ion() are in use.
#################################################
#################################################
export PTNONINTERACTIVE=1

# Examples and instructions for batch scripting (on CSC's system) are found in
# examples/generate_panel.py and examples/generate_movie.sh

# For more information visit the link:
#################################################
#################################################
https://github.com/fmihpc/analysator/wiki


About

Python based package for analyzing vlsv files produced by Vlasiator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Shell 0.4%