Skip to content

granrothge/mcstasclasspy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages