Handle DXfile
handle DXfile
We want to convert DXFile to NXTomo
proposed API:
nxtomomill dxfile2nx <input_file.hdf5> <output_file.nx> [--entries --acquisition-type]
raw data are available here: https://tomobank.readthedocs.io/en/latest/index.html library used to read those:
methodology / questions
- there is no pypi project. The project is more or less froze since 4/5 years. "Most" recent python version handled is 3.5 (at least from setup information). This is our "oldest" version handled.
- it looks like several information can be missing: angles, translation... Some are mandatory for us like the angle and / or the energy. So we would need to add parameters in the command line to get those information, maybe generate rotation angles (ask if full / half-acquisition)...
- not sure it has all the requirements...
- the API provided is only to write data. Is there something to read it that would simplify our life ? There is this: https://github.com/data-exchange/dxchange/blob/master/dxchange/reader.py but this is not very handy. No clear API to get dark, flat... but only to access a dataset (no path defined)
Edited by payno