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
I tried to load a complex valued mrcfile in napari but I go the following error:
TypeError: Cannot cast array data from dtype('complex64') to dtype('float64') according to the rule 'safe'
It's legal to save complex valued data in mrcfiles (although the header meta data is ambiguously undefined) but I appreciate that visualising it is more complicated! I'm using this to save the simulated complex exit wave from my simulations and I'd really like to be able to look at the magnitude and phase etc in napari. Do you think this is something that might be possible to do? I've attached an example file here.
Hi Alister
I tried to load a complex valued mrcfile in napari but I go the following error:
TypeError: Cannot cast array data from dtype('complex64') to dtype('float64') according to the rule 'safe'
It's legal to save complex valued data in mrcfiles (although the header meta data is ambiguously undefined) but I appreciate that visualising it is more complicated! I'm using this to save the simulated complex exit wave from my simulations and I'd really like to be able to look at the magnitude and phase etc in napari. Do you think this is something that might be possible to do? I've attached an example file here.
exit_wave.zip
Best wishes
James
The text was updated successfully, but these errors were encountered: