Horace Logo
  • Introduction and Setup
  • User’s Guide
  • Horace Manual
    • 1. Planning a Horace scan
    • 2. Generating SQW files
    • 3. Data diagnostics
    • 4. Correcting for sample misalignment
    • 5. Cutting data of interest from SQW files and objects
    • 6. Special SQW information from sqw objects and files
    • 7. Loading sqw and dnd objects to memory
    • 8. Saving sqw objects from memory and creating filebacked objects
    • 9. Other shape functions
    • 10. Symmetry Operations
    • 11. Unary operations
    • 12. Binary operations
    • 13. Plotting
    • 14. Simulation
    • 15. Multifit
    • 16. Tobyfit
    • 17. Running Horace in Parallel
    • 18. Changing Horace settings
    • List of functions
    • Input file formats
    • FAQ
  • Example Scripts
  • Citing Horace
  • For Developers
  • Contributing to Horace
  • General disclaimer
  • Previous Versions
Horace
  • Horace Manual
  • List of functions
  • View page source

List of functions

Listed here are all the functions and commands that can be used in Horace. Each function is listed with a brief description of what it does, and an example syntax for its use.

Generating SQW files

  • accumulate_sqw

  • gen_sqw

Correcting for sample misalignment

  • bragg_positions

  • bragg_positions_view

  • calc_proj_matrix

  • crystal_pars_correct

  • refine_crystal

  • rlu_corr_to_lattice

  • ubmatrix

  • uv_correct

Data diagnostics

  • run_inspector

Plotting

  • 1-dimensional plot commands

  • 2-dimensional plot commands

  • 3-dimensional plot commands

  • Adjusting figures

  • Spaghetti plot

Cutting data of interest from SQW files and objects

  • cut_sqw

  • cut_sqw

Special ``SQW`` information from sqw objects and files

  • head_sqw

  • extract coordinates

  • save xye ascii file

Loading ``sqw`` and ``dnd`` objects to memory

  • read

  • read

  • read

  • save

Symmetrising etc

  • Symmetrise

  • Combine

  • Rebin

Simulation

  • func_eval

  • sqw_eval

  • disp2sqw_eval

  • dispersion_plot

  • disp2sqw_plot

Fitting data

  • multifit

  • multifit_func

  • multifit_sqw

  • multifit_sqw_sqw

Binary operations

  • minus

  • plus

  • mtimes

  • mrdivide

  • mldivide

  • mpower

Unary operations

  • uplus

  • uminus

  • Trigonometric and hyperbolic functions

  • Other mathematical functions

Reshaping etc

  • replicate

  • compact

  • permute

  • cut

  • smooth

  • mask

  • mask_points

  • mask_runs

  • section

Read or write to disk

  • read_horace

  • read_sqw

  • read_dnd

  • save

  • save xye ascii file

  • header

Changing object type

  • d0d

  • d1d

  • d2d

  • d3d

  • d4d

  • sqw

Previous Next

© Copyright 2006-2025, STFC RAL. Last updated on May 22, 2025, 11:04:28 AM.

Built with Sphinx using a theme provided by Read the Docs.

Click here to edit or Click here to add new page (requires GitHub account).
For more info on editing click here.