generated from w3c-ccg/markdown-to-spec
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from sbesson/json_snippets
Extract specification snippets as standalone JSON files
- Loading branch information
Showing
3 changed files
with
73 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"multiscales": [ | ||
{ | ||
"version": "0.4", | ||
"name": "example", | ||
"axes": [ | ||
{"name": "t", "type": "time", "unit": "millisecond"}, | ||
{"name": "c", "type": "channel"}, | ||
{"name": "z", "type": "space", "unit": "micrometer"}, | ||
{"name": "y", "type": "space", "unit": "micrometer"}, | ||
{"name": "x", "type": "space", "unit": "micrometer"} | ||
], | ||
"datasets": [ | ||
{ | ||
"path": "0", | ||
"coordinateTransformations": [{ | ||
// the voxel size for the first scale level (0.5 micrometer) | ||
"type": "scale", | ||
"scale": [1.0, 1.0, 0.5, 0.5, 0.5] | ||
}] | ||
}, | ||
{ | ||
"path": "1", | ||
"coordinateTransformations": [{ | ||
// the voxel size for the second scale level (downscaled by a factor of 2 -> 1 micrometer) | ||
"type": "scale", | ||
"scale": [1.0, 1.0, 1.0, 1.0, 1.0] | ||
}] | ||
}, | ||
{ | ||
"path": "2", | ||
"coordinateTransformations": [{ | ||
// the voxel size for the third scale level (downscaled by a factor of 4 -> 2 micrometer) | ||
"type": "scale", | ||
"scale": [1.0, 1.0, 2.0, 2.0, 2.0] | ||
}] | ||
} | ||
], | ||
"coordinateTransformations": [{ | ||
// 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] | ||
}], | ||
"type": "gaussian", | ||
"metadata": { | ||
"description": "the fields in metadata depend on the downscaling implementation. Here, the parameters passed to the skimage function are given", | ||
"method": "skimage.transform.pyramid_gaussian", | ||
"version": "0.16.1", | ||
"args": "[true]", | ||
"kwargs": {"multichannel": true} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters