Example scripts

From Horace
Jump to: navigation, search

On this page we provide a series of short scripts that illustrate different aspects of Horace. Accompanying plots and screenshots are also included. The intention is that you can copy these scripts and edit them according to your own needs, in order to reduce the amount of typing you need to do, and to provide examples of best practice. You may also find some extra Horace commands that you didn't know about!

Planning an experiment

Generating sqw files

Correcting for sample misalignment

Making cuts and plotting them

Data treatment, including background subtraction and symmetrisation

Plot customisation

Making plots for non-orthogonal lattice systems

Publication quality figures

Fitting and simulation

Understanding Horace data structures