Difference between revisions of "Example scripts"

From Horace
Jump to: navigation, search
 
Line 19: Line 19:
 
<!-- Remove as so out-of-date regarding fitting!
 
<!-- Remove as so out-of-date regarding fitting!
 
[http://horace.isis.rl.ac.uk/images/4/48/HoraceWebsiteFitting.pdf Fitting and simulation]
 
[http://horace.isis.rl.ac.uk/images/4/48/HoraceWebsiteFitting.pdf Fitting and simulation]
-->
 
  
 +
-->
 
[http://horace.isis.rl.ac.uk/images/5/5a/HoraceWebsiteUnderstandingDataStructures.pdf Understanding Horace data structures]
 
[http://horace.isis.rl.ac.uk/images/5/5a/HoraceWebsiteUnderstandingDataStructures.pdf Understanding Horace data structures]

Latest revision as of 18:31, 20 January 2019

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

Understanding Horace data structures