Closed RichardWaiteSTFC closed 4 months ago
Looks like the eigenvalues are just not copied from D
to omega
matrix
The equivalent of this line appears to be missing form the fastmode
branch on L1019
https://github.com/SpinW/spinw/blob/74422b738ab383108880656e2a9c3968e990f7af/swfiles/%40spinw/spinwave.m#L1028
Here is the spinwave spectrum for a FM chain calculated along H with mex enabled
If you disable mex it looks like it returns eigenvalues of 0
So only get intensity within dE of the elastic line
Note using home-made plotting code as
sw_fitspec
errors - see https://github.com/SpinW/spinw/pull/180#issuecomment-2090860373