-
Notifications
You must be signed in to change notification settings - Fork 18
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
Define what we mean by array range #716
Comments
@jbeilstenedmands suggests consider three cases:
What should the internal data structure representation of this be? |
@benjaminhwilliams asserts We have a contiguous 3D array of data fundamentally: for HDF5 this is a trivial mapping. For cases where the data array is stored as a sequence of images then we need to store a map which allows the software to fetch the correct "image" for a given slice. |
@ndevenish points out that what if we take a subset of a data set?
Which is counting in people numbers: we are importing 100 images from 900...999 inclusive in array index terms here. This highlights some confusion already.
... would open images 901 to 1000 What if one of the images is called 0? |
All interfaces internally use We propose we do this. We welcome reactions. |
|
If we truncate the scan then the scan needs to have a subset of the imported image sequence which is strictly contained within the imported set. |
Shoeboxes are indices into the imported array, |
DO NOT internally store tuple for the array range: the first value is canonically zero, so do not store it, and thus internally present only a way to get the value above the upper bound. Then use explicit API calls to get the people names for e.g. reporting, fetching data from a CBF file. |
|
Looking at int num_images_; => we have the upper bound on the array size |
In the same file I note without further comment * @param file_offset A offset to add to the image number (for tracking of
* unique batch numbers for multi-crystal datasets) Should this be in the |
Even if we want to replace this with
z_range
(#719) we need to decide what this actually meansOptions:
The text was updated successfully, but these errors were encountered: