granrothge / mcstasclasspy

A Class structure for working with Mcstas ascii files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A set of classes to work with:

  • ascii files from mcstas
  • hdf histogran files from mcvine
  • MD histo nexus files from Mantid

Installation instructions

  1. Ensure the dependencies are installed

    • python
    • numpy
    • matplotlib
    • lmfit
  2. clone the repository git clone https://github.com/granrothge/mcstasclasspy.git

  3. change to mcstasclasspy directory

  4. Then use python setup.py install if you have administrator rights to the machine or python 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.

About

A Class structure for working with Mcstas ascii files

License:GNU Affero General Public License v3.0


Languages

Language:Python 100.0%