Skip to article frontmatterSkip to article content

subspace Examples

This document contains JSON examples for subspace metadata layouts.

subspaceMultidim

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

subspacePermute

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