ercius / openNCEM

A collection of packages and tools for electron microscopy data analysis supported by the National Center for Electron Microscopy facility of the Molecular Foundry
GNU General Public License v3.0
58 stars 28 forks source link

I/O Plugin for Nion Swift #19

Closed sezelt closed 1 year ago

sezelt commented 4 years ago

This adds an I/O delegate to the nionswift_plugin namespace that uses ncempy to handle opening *.emd (Berkeley and Velox) and *.ser files in the Nion Swift Import Data... dialog. Only image data is currently supported.

No extra install steps are needed, just pip install ncempy as usual and Swift will find it.

I've tested this with many TIA and Velox files I have, though I'm sure there are cases I haven't tested so if something doesn't work right just point me to the file and I'll try to make it work!

ercius commented 4 years ago

@sezelt Looks like there is a conflict in the (berkeley) emd reader. Why did you make the del function just a pass statement? If we keep this as-is the emd (HDF5) file will never be closed.

ercius commented 4 years ago

@sezelt Did this ever get figured out? Lets get this merged aftern dealing with the conflict.