You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(2) Run the script again with nqbins=21
It looks like the patches are no longer at the bin center in q
(3) Change the energy binning dE=0.15 - this looks like it fixes the problem
Perhaps it matters whether the energy bin edges coincide with the eigenvalues? Not sure why though. Also the colorfill plotting (inside sw_plotspec) is done by the image function which does apparently center the patch on the bin center (unlike some colorfill plotting functions which put the bottom left corner of the patch at the bin center).
The text was updated successfully, but these errors were encountered:
To Reproduce:
(1) Run this script with 11 q-bins in call to
spinwave
and plot usingsw_plotspec
(2) Run the script again with
nqbins=21
It looks like the patches are no longer at the bin center in q
(3) Change the energy binning
dE=0.15
- this looks like it fixes the problemPerhaps it matters whether the energy bin edges coincide with the eigenvalues? Not sure why though. Also the colorfill plotting (inside
sw_plotspec
) is done by theimage
function which does apparently center the patch on the bin center (unlike some colorfill plotting functions which put the bottom left corner of the patch at the bin center).The text was updated successfully, but these errors were encountered: