-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save dark and flat fields in nexus file produced with NEXUSDataWriter #934
Comments
Closing this, because instead of writing dark and flat fields to the CIL Nexus file, we are going to keep the data as NXTomo format until we get to a processing step (e.g. Centre of Rotation Correction) where we need to specifically write out CIL info (such as the geometry). The other steps just modify the data which will be saved in an NXTomo anyway. |
The NXTomo format has the flat and dark fields included in the data, with a key to specify the indices where they are located.
We would like to read in an NXTomo file and write out a nexus file with the NEXUSDataWriter, without losing the information about the dark and flat fields.
The NEXUSDataWriter currently writes the dataset to:
CIL/Wrappers/Python/cil/io/NEXUSDataWriter.py
Line 80 in 39b6f7a
We could either:
NEXUSDataWriter
won't have a key, but in the NEXUSDataReader we could assume no dark and flat fields are present in the data in the case that a key doesn't exist.or
The text was updated successfully, but these errors were encountered: