Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
bd308cb
port RFC5 updated proposal to ngff-spec
jo-mueller Jan 15, 2026
e889e4c
update scene metadata
jo-mueller Jan 16, 2026
9e6a19b
remove inverseOf
jo-mueller Jan 16, 2026
c44cdea
don't allow paths for scale/translation
jo-mueller Jan 16, 2026
a217cc7
add titles and descriptions
jo-mueller Jan 16, 2026
2b20c8e
change schema title
jo-mueller Jan 19, 2026
406a826
add more test example json
jo-mueller Jan 21, 2026
90db8e4
update version keys
jo-mueller Jan 21, 2026
2fbd817
update changelog
jo-mueller Jan 21, 2026
f1852f3
fix valid/invalid scene metadata
jo-mueller Jan 21, 2026
728d519
append schema pointer to test json
jo-mueller Jan 21, 2026
fcce320
add function to test attributes
jo-mueller Jan 21, 2026
677f65a
add function to test attributes
jo-mueller Jan 21, 2026
59f14e3
retrieve valid state from path
jo-mueller Jan 21, 2026
02e73b5
add valid: false for invalid-marked examples
jo-mueller Jan 21, 2026
1258c25
add strict/valid fields to conformance json object
jo-mueller Jan 21, 2026
1c9c63a
remove unused main
jo-mueller Jan 21, 2026
3087ec0
Merge branch 'expand-tests' into update-RFC5
jo-mueller Jan 21, 2026
0a856e1
update examples
jo-mueller Jan 21, 2026
4cc3a6f
add scene to all schemas
jo-mueller Jan 21, 2026
758638d
require coordinateTransformations in scene
jo-mueller Jan 21, 2026
1fb2110
complete scene schema
jo-mueller Jan 22, 2026
5b9acb6
rename example
jo-mueller Jan 22, 2026
2259f77
do not require version under multiscales
jo-mueller Jan 22, 2026
3dd4c59
name should be allowed field in multiscale transform
jo-mueller Jan 22, 2026
2782fe5
code style
jo-mueller Jan 22, 2026
4759c4e
patch in scene field requirement
jo-mueller Jan 22, 2026
b0a9fc2
add/update more examples
jo-mueller Jan 22, 2026
2c0fa3a
harmonize use of backticks
jo-mueller Jan 26, 2026
a5ea710
Added information in contrib guide
jo-mueller Jan 26, 2026
38a6ca9
Merge branch 'backticks-everywhere' into update-RFC5
jo-mueller Jan 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.6.dev2'
__version__ = '0.6.dev3'
14 changes: 12 additions & 2 deletions contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ Make sure the updated `CITATION.cff` file is included in your PR.
Contributions should conform to [Semantic Line Breaks (SemBr)](https://sembr.org/),
to improve change tracking.

### Formatting hints

The specification uses MyST extensively for a number of formatting options
to make the text readable and improve structure.

Expand Down Expand Up @@ -97,6 +95,18 @@ make sure to prepend the reference anchor with `versionX` like so:
Otherwise, the same anchors may not be possible to resolve
if multiple versions of the spec document are built and viewed together.

#### Highlighting

If you refer to fields or values that would appear in JSON files,
please use backticks to highlight them, like so:

```markdown
The `multiscales` field contains an array of dictionaries.
```

You may still use bold, italics or quotation marks for emphasis where appropriate,
but please use backticks for JSON fields and values.

#### Citations

ngff-spec relies on [sphinxcontrib-bibtex](https://pypi.org/project/sphinxcontrib-bibtex/) for citations.
Expand Down
2 changes: 1 addition & 1 deletion examples/bf2raw/image.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"node_type": "group",
"attributes": {
"ome": {
"version": "0.6.dev2",
"version": "0.6.dev3",
"bioformats2raw.layout": 3
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/bf2raw/plate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"node_type": "group",
"attributes": {
"ome": {
"version": "0.6.dev2",
"version": "0.6.dev3",
"bioformats2raw.layout": 3,
"plate": {
"columns": [
Expand Down
2 changes: 1 addition & 1 deletion examples/label_strict/colors_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"node_type": "group",
"attributes": {
"ome": {
"version": "0.6.dev2",
"version": "0.6.dev3",
"image-label": {
"colors": [
{
Expand Down
14 changes: 7 additions & 7 deletions examples/multiscales_strict/multiscales_example.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"node_type": "group",
"attributes": {
"ome": {
"version": "0.6.dev2",
"version": "0.6.dev3",
"multiscales": [
{
"name": "example",
Expand All @@ -21,40 +21,40 @@
],
"datasets": [
{
"path": "0",
"path": "s0",
"coordinateTransformations": [
{
// the voxel size for the first scale level (0.5 micrometer)
// and the time unit (0.1 milliseconds), which is the same for each scale level
"type": "scale",
"scale": [0.1, 1.0, 0.5, 0.5, 0.5],
"input": "0",
"input": "s0",
"output": "intrinsic"
}
]
},
{
"path": "1",
"path": "s1",
"coordinateTransformations": [
{
// the voxel size for the second scale level (downscaled by a factor of 2 -> 1 micrometer)
// and the time unit (0.1 milliseconds), which is the same for each scale level
"type": "scale",
"scale": [0.1, 1.0, 1.0, 1.0, 1.0],
"input": "1",
"input": "s1",
"output": "intrinsic"
}
]
},
{
"path": "2",
"path": "s2",
"coordinateTransformations": [
{
// the voxel size for the third scale level (downscaled by a factor of 4 -> 2 micrometer)
// and the time unit (0.1 milliseconds), which is the same for each scale level
"type": "scale",
"scale": [0.1, 1.0, 2.0, 2.0, 2.0],
"input": "2",
"input": "s2",
"output": "intrinsic"
}
]
Expand Down
18 changes: 9 additions & 9 deletions examples/multiscales_strict/multiscales_example_relative.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"multiscales": [
{
"version": "0.6.dev2",
"version": "0.6.dev3",
"name": "example",
"coordinateSystems" : [
{
Expand Down Expand Up @@ -38,23 +38,23 @@
}]
},
{
"path": "1",
"path": "s1",
"coordinateTransformations": [{
// the second scale level (downscaled by a factor of 2 relative to "0" in zyx)
// the second scale level (downscaled by a factor of 2 relative to "s0" in zyx)
"type": "scale",
"scale": [1, 1, 2, 2, 2],
"input" : "/1",
"output" : "array_0"
"input" : "s1",
"output" : "intrinsic"
}]
},
{
"path": "2",
"path": "s2",
"coordinateTransformations": [{
// the third scale level (downscaled by a factor of 4 relative to "0" in zyx)
// the third scale level (downscaled by a factor of 4 relative to "s0" in zyx)
"type": "scale",
"scale": [1, 1, 4, 4, 4],
"input" : "/2",
"output" : "array_0"
"input" : "s2",
"output" : "intrinsic"
}]
}
],
Expand Down
6 changes: 3 additions & 3 deletions examples/multiscales_strict/multiscales_transformations.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"node_type": "group",
"attributes": {
"ome": {
"version": "0.6.dev2",
"version": "0.6.dev3",
"multiscales": [
{
"coordinateSystems": [
Expand Down Expand Up @@ -40,12 +40,12 @@
],
"datasets": [
{
"path": "0",
"path": "s0",
"coordinateTransformations": [
{
"scale": [1, 1],
"type": "scale",
"input": "0",
"input": "s0",
"output": "intrinsic"
}
]
Expand Down
2 changes: 1 addition & 1 deletion examples/ome/series-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"node_type": "group",
"attributes": {
"ome": {
"version": "0.6.dev2",
"version": "0.6.dev3",
"series": ["0", "1"]
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/plate_strict/plate_2wells.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"node_type": "group",
"attributes": {
"ome": {
"version": "0.6.dev2",
"version": "0.6.dev3",
"plate": {
"acquisitions": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/plate_strict/plate_6wells.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"node_type": "group",
"attributes": {
"ome": {
"version": "0.6.dev2",
"version": "0.6.dev3",
"plate": {
"acquisitions": [
{
Expand Down
121 changes: 82 additions & 39 deletions examples/subspace/subspaceMultidim.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,87 @@
{
"coordinateSystems": [
{
"name": "in",
"axes": [
{ "name": "0", "type": "array" },
{ "name": "1", "type": "array" },
{ "name": "2", "type": "array" },
{ "name": "3", "type": "array" },
{ "name": "4", "type": "array" }
]
},
{
"name": "out",
"axes": [
{ "name": "x", "type": "space" },
{ "name": "y", "type": "space" },
{ "name": "z", "type": "space" }
]
}
],
"coordinateTransformations": [
{
"type": "byDimension",
"name": "5D-to-3D-not-contiguous",
"input": "in",
"output": "out",
"transformations": [
{
"type": "mapAxis",
"mapAxis": { "0": "x", "2": "z" },
"input_axes": [ "0", "2" ],
"output_axes": [ "x", "z" ]
},
"zarr_format": 3,
"node_type": "group",
"attributes": {
"ome": {
"version": "0.6.dev3",
"multiscales": [
{
"type": "scale",
"scale": [ 2 ],
"input_axes": [ "1" ],
"output_axes": [ "y" ]
"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"
}
]
}
]
}
]
}
]
}
}
}
Loading