-
Notifications
You must be signed in to change notification settings - Fork 28
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
Axes with more than one dimension #213
Comments
That's something we have not thought about yet. The current architecture is flexible enough so we can plug different implementations of coordinates, however whether such a coordinate object could fit in |
Any updates on this? |
From our side, we have since chosen a different mechanism, relying on type erasure to build a library (https://scipp.github.io/) that supports this and other features in a Python-like manner. From my point of view this issue could thus be closed. |
Unfortunately no, I didn't have the time to improve xframe during the past year. |
For our application (neutron scattering) we frequently deal with axis-arrays that have more than one dimension. To my understanding this mainly occurs when one of the dimensions is not a continuous variable but rather a discrete set of values, such as a label.
As an example, consider measuring a series of values at a number of points in in space:
For illustration, consider also this figure: http://docs.mantidproject.org/v3.11.0/_images/MBC_Ragged.png.
"time"
to"wavelength"
depends on the position (in the linked figure, every spectrum is measured at a different position). Therefore, the"wavelength"
axis inv2
must have different values for every"position"
index."position"
cannot depend on"wavelength"
.In general, I think similar types of a multi-dimensional axis would be required by many adjustments or conversions that depend on one of the other axes.
The text was updated successfully, but these errors were encountered: