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