Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. E.g. I'm always
frustrated when [...]
Trying to use the Tomviz pipeline feature to reconstruct and threshold a series of .npy files which requires converting to .emd . This is also a problem for other file types typically used in Tomviz e.g. tif
Describe the solution you would like
Python script which can be launced from python console or built in tool to batch convert file types. Similar to in Digital micrograph for .dm4 to tif etc.
Describe alternatives you have considered
Quick GUI conveter program like in QSTEM ?
Additional context
I've written a python script which is nearly there but I can't quite work out how to set the image /data/tomogrpay/ImageScalars/Imagescalars and /data/tomography/data to point to the same object reference. I can duplicated but this doubles the file size, or create an empty array of the same size. Would be great to get some pointers on how to rectify this and any improvements that I could make to it.
@SBW90 If you want to easily work with EMD files in python you can use the ncempy.emd subpackage. It simplifies reading EMD files and writing them as well as lots of other common EM formats.
See the io functionality here and the documentation here.
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. E.g. I'm always frustrated when [...]
Trying to use the Tomviz pipeline feature to reconstruct and threshold a series of .npy files which requires converting to .emd . This is also a problem for other file types typically used in Tomviz e.g. tif
Describe the solution you would like Python script which can be launced from python console or built in tool to batch convert file types. Similar to in Digital micrograph for .dm4 to tif etc.
Describe alternatives you have considered Quick GUI conveter program like in QSTEM ?
Additional context I've written a python script which is nearly there but I can't quite work out how to set the image /data/tomogrpay/ImageScalars/Imagescalars and /data/tomography/data to point to the same object reference. I can duplicated but this doubles the file size, or create an empty array of the same size. Would be great to get some pointers on how to rectify this and any improvements that I could make to it.