subspace Examples#

This document contains JSON examples for subspace metadata layouts.

subspaceMultidim#

 1{
 2  "zarr_format": 3,
 3  "node_type": "group",
 4  "attributes": {
 5    "ome": {
 6      "version": "0.6.dev3",
 7      "multiscales": [
 8        {
 9          "name": "multiscales",
10          "coordinateSystems": [
11            {
12              "name": "physical",
13              "axes": [
14                {
15                  "type": "space",
16                  "name": "y",
17                  "unit": "micrometer",
18                  "discrete": false
19                },
20                {
21                  "type": "space",
22                  "name": "x",
23                  "unit": "micrometer",
24                  "discrete": false
25                }
26              ]
27            },
28            {
29              "name": "array_coordinates",
30              "axes": [
31                {
32                  "type": "array",
33                  "name": "dim_0",
34                  "discrete": true
35                },
36                {
37                  "type": "array",
38                  "name": "dim_1",
39                  "discrete": true
40                }
41              ]
42            }
43          ],
44          "datasets": [
45            {
46              "path": "array",
47              "coordinateTransformations": [
48                {
49                  "type": "byDimension",
50                  "output": "physical",
51                  "input": "array",
52                  "transformations": [
53                    {
54                      "type": "scale",
55                      "output_axes": [
56                        "x"
57                      ],
58                      "input_axes": [
59                        "dim_1"
60                      ],
61                      "scale": [
62                        2
63                      ]
64                    },
65                    {
66                      "type": "translation",
67                      "output_axes": [
68                        "y"
69                      ],
70                      "input_axes": [
71                        "dim_0"
72                      ],
73                      "translation": [
74                        -10
75                      ]
76                    }
77                  ],
78                  "name": "transform-name"
79                }
80              ]
81            }
82          ]
83        }
84      ]
85    }
86  }
87}

subspacePermute#

 1{
 2  "zarr_format": 3,
 3  "node_type": "group",
 4  "attributes": {
 5    "ome": {
 6      "version": "0.6.dev3",
 7      "multiscales": [
 8        {
 9          "name": "multiscales",
10          "coordinateSystems": [
11            {
12              "name": "physical",
13              "axes": [
14                {
15                  "type": "space",
16                  "name": "y",
17                  "unit": "micrometer",
18                  "discrete": false
19                },
20                {
21                  "type": "space",
22                  "name": "x",
23                  "unit": "micrometer",
24                  "discrete": false
25                }
26              ]
27            },
28            {
29              "name": "array_coordinates",
30              "axes": [
31                {
32                  "type": "array",
33                  "name": "dim_0",
34                  "discrete": true
35                },
36                {
37                  "type": "array",
38                  "name": "dim_1",
39                  "discrete": true
40                }
41              ]
42            }
43          ],
44          "datasets": [
45            {
46              "path": "array",
47              "coordinateTransformations": [
48                {
49                  "type": "scale",
50                  "output": "array_coordinates",
51                  "input": "array",
52                  "name": "default-scale",
53                  "scale": [1, 1]
54                }
55              ]
56            }
57          ],
58          "coordinateTransformations": [
59            {
60              "type": "mapAxis",
61              "output": "physical",
62              "input": "array_coordinates",
63              "name": "transform-name",
64              "mapAxis": [1, 0]
65            }
66          ]
67        }
68      ]
69    }
70  }
71}