A set of classes to work with:
-
Ensure the dependencies are installed
- python
- numpy
- matplotlib
- lmfit
-
clone the repository
git clone https://github.com/granrothge/mcstasclasspy.git
-
change to mcstasclasspy directory
-
Then use
python setup.py install
if you have administrator rights to the machine orpython setup.py install --user
to install it in your user directory
I try to keep to few and relatively stable libraries. So it should work on a python 3.X eco system where the dependencies can be installed.
There are a few example jupyter notebooks to show example use cases.
This is very much a work in progress and I add functionality as I need it. Feel free to request something if you need it.