alisterburt / napari-mrcfile-reader Goto Github PK
View Code? Open in Web Editor NEWRead MRC format image files into napari using the mrcfile package from CCP-EM
License: BSD 3-Clause "New" or "Revised" License
Read MRC format image files into napari using the mrcfile package from CCP-EM
License: BSD 3-Clause "New" or "Revised" License
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.
Best wishes
James
Thanks for merging my previous tiny contribution ("permissive=True")! :)
I want to add writing functions (napari_get_writer
, napari_write_image
) to the plugin, as well as a dock widget with volume and/or slice histograms. The plugin name however is mrcfile-READER so I don't know whether you see it as an appropriate addition or whether it's out of scope and you'd prefer me to make a new separate plugin. Please let me know your thoughts.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.