converting from (SPEC) EDF to NXtomo¶
In order to keep compatibility between latest software and legacy
datasets (or what will soon be) nxtomomill
provides a convert to move from EDF
to NXtomo
It can be access from command line interface (CLI) or from the python API.
from CLI¶
In order to insure bacward compatibility we added an application to convert from EDF files to NXtomo
.
The application can be access from:
nxtomomill edf2nx input_folder output_file.nx
or within a configuration file
nxtomomill edf2nx input_folder output_file.nx --config my_configuration.cfg
from python API¶
from nxtomomill.converter import edf_to_nx
from tomoscan.esrf.edfscan import EDFTomoScan
edf_to_nx(
EDFTomoScan(edf_folder_path),
'output_file.nx',
)
When you convert from edf to Nxtomo all the data will be copied / duplicated which is not the case for h52nx.
The latest tutorial is available here for converting from edf to NXtomo.
In [ ]: