Base class for Readers #949
lauramurgatroyd
started this conversation in
Ideas
Replies: 1 comment
-
The TXRM reader uses https://github.com/data-exchange/dxchange/blob/master/dxchange/reader.py#L187-L236 I wonder whether we should contribute a function to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be good for all readers in CIL to have the ability to slice and bin as they read (if possible, depending on format).
We could set it up so that a user could do the following steps to achieve this:
This links to issue: #871
We could create a base class for all readers: NEXUSDataReader, NikonDataReader, TIFF, TXRMDataReader, and the new NXTomoReader which is being developed.
The base class could have the following methods:
Notes on the current readers:
roi
andmode
)CIL/Wrappers/Python/cil/io/NikonDataReader.py
Lines 90 to 95 in 2235c65
It seems the option in NikonDataReader and TIFFStackReader is to bin or slice, is there any reason not to allow both (allow you to slice, and then bin the data)?
Beta Was this translation helpful? Give feedback.
All reactions