Matlab script to generate .lau datafiles (for Single_crystal.comp) from .laz type

  function laz2laue(datafile)
  
    Script to generate '.lau' type datafile from '.laz' (generates
    multiples and sorts by h.^2+k.^2+l.^2 )
 
    Example:
       laz2laue('/usr/local/lib/mcstas/data/Cu.laz')

Important details: