ITADN

Quick access Dimension indices

#1166Closedjamesalster 创建于 2026-01-20
J
jamesalstercommented
I find it would be useful to be able to quickly access the indices of a DimArray as a `Vector` rather than the DimensionalData object returned by `dims()`. I suppose this could be a simple method, something like the following? ```julia function getdim(D::AbstractDimArray, args...) collect(dims(D, args...).val) end ``` Apologies if this is covered elsewhere. I'm happy to contribute a PR if this would be useful.
关闭于 2026-01-20 3 条评论