McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding
 Screenshots

Download
 Components
 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tools
 Tutorial

Workshops/conferences

Developments

Links

Report bugs

Git

McStas Ubuntu live-dvd


Matlab scripts for McStas legacy data format

These are handy, but unsupported scripts for loading legacy McStas datasets into Matlab.

  • 1D-datasets (such as L_monitor.comp output) - [x,y,err,xlab,ylab,titl]=Mc1Dload('lmonsrc.sim');
  • 2D-datasets (such as PSD_monitor.comp output) - [x,y,data,z,xlab,ylab,titl]=Mc2Dload('psd.sim');
  • Single monitor output from scans (10 means 10'th monitor) - [x,y,err,xlab,ylab,titl]=McScanLoad('.',10)
A test usage script plus datafiles are also provided.

Peter Willendrup, Risø DTU, 2010


Last Modified: Monday, 13-Sep-2010 13:14:37 CEST
Search website mailinglist archive GitHub repos