pyOPALTools is a post-processing library written in Python.
The main idea behind the library is to provide a common interface to all output formats generated by OPAL in order to analyse the data. In the directory pyOPALTools/opal/test/ you can find several notebooks that show the usage of the library.
- Matthias Frey (PSI)
- Jochem Snuverink (PSI)
- Andreas Adelmann (PSI)
- Nicole Neveu (SLAC)
- Ryan Roussel (UCLA)
- Philippe Ganz (PSI)
- Renato Bellotti (PSI)
You might also check out the graph.
In order to work properly you need to append the path of the root directory of pyOPALTools to PYTHONPATH, i.e.
You can check if it works by importing the library in an interactive session, e.g.
>>> import opal >>>
Installation with setup.py
You can also use the setup.py in order to install the opal package in your Python virtual environment. For this purpose you just call
python setup.py install
in the root directory of pyOPALTools. Make sure you have the virtual environment loaded otherwise it will be installed to your default Python. This will install all dependencies and the opal package.