SpinW (spin-double-u) is a Matlab library that can optimize magnetic structures using mean field theory and calculate spin wave dispersion and spin-spin correlation function for complex crystal and magnetic structures. For details check http://www.psi.ch/spinw.
Keep up to date on announcements and more by following @spinw4 on Twitter.
swdoc
/swhelp
instead of the Matlab built-in doc
/help
functions to get help on SpinW