# \#dimensionaldata

**URL:** https://discourse.julialang.org/tag/dimensionaldata/1040.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [DimensionalData vs AxisKeys](https://discourse.julialang.org/t/dimensionaldata-vs-axiskeys/122880)

<div class="topic-metadata">

**Author:** [@kli6891](https://discourse.julialang.org/u/kli6891)\
**Replies:** 2\
**Last updated:** [November 21, 2024, 11:51am UTC](https://discourse.julialang.org/t/dimensionaldata-vs-axiskeys/122880 "2024-11-21T11:51:30Z")

</div>

Hi, it seems that DimensionalData and AxisKeys have quite a bit overlap. What are the considerations I should keep in mind for choosing between these two packages?

---

## [Getting the dimension value at eachslice of a DimArray](https://discourse.julialang.org/t/getting-the-dimension-value-at-eachslice-of-a-dimarray/122088)

<div class="topic-metadata">

**Author:** [@gmcardle](https://discourse.julialang.org/u/gmcardle)\
**Replies:** 1\
**Last updated:** [November 1, 2024, 9:29am UTC](https://discourse.julialang.org/t/getting-the-dimension-value-at-eachslice-of-a-dimarray/122088 "2024-11-01T09:29:06Z")

</div>

Hi, I’m still getting to grips with practical use of DimensionalData.jl DimArray types. Suppose I’m using eachslice to iterate over the time dimension of a 3D array, but I want to get the time value at each slice. What…

---

## [DimensionalData question](https://discourse.julialang.org/t/dimensionaldata-question/121846)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 6\
**Last updated:** [October 28, 2024, 7:08am UTC](https://discourse.julialang.org/t/dimensionaldata-question/121846 "2024-10-28T07:08:27Z")

</div>

How do I specify a DimArray over a subset of a dimension? I thought this would work but it gives an error. Ddim = Dim{:Ddim}(\['a','b','c'\]) DimArray( 1:2, Ddim(\['a','b'\]) )

---

## [Multithreaded broadcast on a grouped DimensionalData array](https://discourse.julialang.org/t/multithreaded-broadcast-on-a-grouped-dimensionaldata-array/117607)

<div class="topic-metadata">

**Author:** [@aasdelat](https://discourse.julialang.org/u/aasdelat)\
**Replies:** 33\
**Last updated:** [August 6, 2024, 4:04pm UTC](https://discourse.julialang.org/t/multithreaded-broadcast-on-a-grouped-dimensionaldata-array/117607 "2024-08-06T16:04:30Z")

</div>

Hello: I am using the Rasters.jl package to read and work with data on a spatial and a time dimension (two dimensions). So it is a Raster with two dimensions. I have gropued the raster by means of the groupby() functio…

---

## [DimensionalData: How to use a dimension whose name is stored in a variable](https://discourse.julialang.org/t/dimensionaldata-how-to-use-a-dimension-whose-name-is-stored-in-a-variable/116098)

<div class="topic-metadata">

**Author:** [@aasdelat](https://discourse.julialang.org/u/aasdelat)\
**Replies:** 6\
**Last updated:** [June 27, 2024, 9:47pm UTC](https://discourse.julialang.org/t/dimensionaldata-how-to-use-a-dimension-whose-name-is-stored-in-a-variable/116098 "2024-06-27T21:47:51Z")

</div>

I have to use data with one time dimension and two spatial dimensions (longitude and latitude). I use the Rasters.jl library to manage them, that creates DimensionalData.jl arrays. Sometimes, I have a variable, say slp,…

---

## [Liouvillian superoperator way cannot run by \`timeevolution.master\_dynamic\` of QuantumOptics.jl](https://discourse.julialang.org/t/liouvillian-superoperator-way-cannot-run-by-timeevolution-master-dynamic-of-quantumoptics-jl/113650)

<div class="topic-metadata">

**Author:** [@fqguo](https://discourse.julialang.org/u/fqguo)\
**Replies:** 12\
**Last updated:** [May 6, 2024, 3:02am UTC](https://discourse.julialang.org/t/liouvillian-superoperator-way-cannot-run-by-timeevolution-master-dynamic-of-quantumoptics-jl/113650 "2024-05-06T03:02:22Z")

</div>

When i use the package QuantumOptics.jl to simulate the evolution of Liouvillian superoperator, i find it cannot run by the command timeevolution.master\_dynamic. Because after obtaining the superoperator, i ready to solv…

---

## [Tullio & AxisKeys can dummy variables refer to named keys](https://discourse.julialang.org/t/tullio-axiskeys-can-dummy-variables-refer-to-named-keys/110233)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 0\
**Last updated:** [February 15, 2024, 4:31am UTC](https://discourse.julialang.org/t/tullio-axiskeys-can-dummy-variables-refer-to-named-keys/110233 "2024-02-15T04:31:57Z")

</div>

Is there a more succinct way to do this? ka = KeyedArray( ones(2,2), I=\[:a,:b\], J=\[:x,:y\] ) @tullio x\[i,j\] := ( ka\[i,j\], axiskeys(ka)\[1\]\[i\], axiskeys(ka)\[2\]\[j\]) Something like @tullio x\[i,j\] := ( ka(i,j), i, j ) T…

---

## [Is there a NamedArray or DimensionalData type package that can combine orthogonal dimensions?](https://discourse.julialang.org/t/is-there-a-namedarray-or-dimensionaldata-type-package-that-can-combine-orthogonal-dimensions/89610)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 4\
**Last updated:** [November 2, 2022, 1:29am UTC](https://discourse.julialang.org/t/is-there-a-namedarray-or-dimensionaldata-type-package-that-can-combine-orthogonal-dimensions/89610 "2022-11-02T01:29:44Z")

</div>

Vectorised operations on regular arrays produce a cross product across dimensions. e.g. x = \[1 2 3\] a = reshape( x, (3,1,1)) b = reshape( x, (1,3,1)) c = reshape( x, (1,1,3)) X = @. a + b + c X\[3,3,3\] # =9 Simila…

---

## [DimensionalData: how to map slices, while using non-slice dimensions](https://discourse.julialang.org/t/dimensionaldata-how-to-map-slices-while-using-non-slice-dimensions/87839)

<div class="topic-metadata">

**Author:** [@ElOceanografo](https://discourse.julialang.org/u/ElOceanografo)\
**Replies:** 1\
**Last updated:** [September 26, 2022, 8:59pm UTC](https://discourse.julialang.org/t/dimensionaldata-how-to-map-slices-while-using-non-slice-dimensions/87839 "2022-09-26T20:59:45Z")

</div>

I’ve got a multidimensional DimArray and want to map a function that summarizes across one of the dimensions. This is simple to do using mapslices, e.g. using DimensionalData arr = rand(X(1:10), Y(1:20), Z(1:30)) f(z) =…

---

## [How to lookup and assign on label-aware AbstractVectors in various packages](https://discourse.julialang.org/t/how-to-lookup-and-assign-on-label-aware-abstractvectors-in-various-packages/81309)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [May 20, 2022, 7:44am UTC](https://discourse.julialang.org/t/how-to-lookup-and-assign-on-label-aware-abstractvectors-in-various-packages/81309 "2022-05-20T07:44:00Z")

</div>

Sometimes I do not remember the position of dimensions or of the individual indexes in a multi-dimensional array and when performances are not a critical factor I prefer to work on keys rather than position. I am hence …
