Closed zhang-siyuan closed 3 years ago
@zhang-siyuan thanks for bringing up this issue! I think the problem is just that the updated notebook never got merged.
You can use the notebook here https://github.com/pyxem/pyxem-demos/pull/63 in the meantime and I'll try to get it merged.
@pc494 any reason the demo can't be merged? I can look at it again tomorrow to make sure it still works.
@pc494 any reason the demo can't be merged? I can look at it again tomorrow to make sure it still works.
Nothing more than my own inefficiency sadly. I had hoped to tidy up the syntax a little, but given that I haven't if you do go over it again I'll merge.
@pc494 This should be good to merge. I tested it the other day and it seems to work.
For the time being it should be good but I might try to get back to it and clean it up a little later
The relevant PR is #63
If somebody could check that #63 did indeed fix this that would be grand.
@CSSFrancis Thank you so much! Your notebook provides a compatible solution and some very nice notes, highly appreciate! @pc494 Yes, the fix works perfectly for me.
Great, I'll close the issue
Following the jupyter notebook until: integration2d = dp.get_azimuthal_integral2d(npt_rad=100, unit="pyxem")
Same problem for get_azimuthal_integral1d
Suspect it has something to do with the lazy input, but the problem persists after changing dp.unit="2th_deg" or giving wavelength=2.5e-12 for dp.unit = "k_A^-1" (the unit in Demo7)