-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* SC_33 calculate intensity * SC_33 unit tests * SC_33 add test zarr * SC_33 align masks * SC_33 unit test align mask * SC_33 typo * SC_33 support for appending * SC_33 update docs * SC_33 update toml and tox
- Loading branch information
1 parent
9102bd3
commit a24d31c
Showing
43 changed files
with
1,623 additions
and
266 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
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
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
3 changes: 3 additions & 0 deletions
3
src/napari_sparrow/_tests/test_data/multi_channel_zarr/sdata.zarr/.zgroup
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,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
3 changes: 3 additions & 0 deletions
3
src/napari_sparrow/_tests/test_data/multi_channel_zarr/sdata.zarr/images/.zgroup
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,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
150 changes: 150 additions & 0 deletions
150
src/napari_sparrow/_tests/test_data/multi_channel_zarr/sdata.zarr/images/raw_image/.zattrs
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,150 @@ | ||
{ | ||
"channels_metadata": { | ||
"channels": [ | ||
{ | ||
"label": 0 | ||
}, | ||
{ | ||
"label": 1 | ||
}, | ||
{ | ||
"label": 2 | ||
}, | ||
{ | ||
"label": 3 | ||
}, | ||
{ | ||
"label": 4 | ||
}, | ||
{ | ||
"label": 5 | ||
}, | ||
{ | ||
"label": 6 | ||
}, | ||
{ | ||
"label": 7 | ||
}, | ||
{ | ||
"label": 8 | ||
}, | ||
{ | ||
"label": 9 | ||
}, | ||
{ | ||
"label": 10 | ||
}, | ||
{ | ||
"label": 11 | ||
}, | ||
{ | ||
"label": 12 | ||
}, | ||
{ | ||
"label": 13 | ||
}, | ||
{ | ||
"label": 14 | ||
}, | ||
{ | ||
"label": 15 | ||
}, | ||
{ | ||
"label": 16 | ||
}, | ||
{ | ||
"label": 17 | ||
}, | ||
{ | ||
"label": 18 | ||
}, | ||
{ | ||
"label": 19 | ||
}, | ||
{ | ||
"label": 20 | ||
}, | ||
{ | ||
"label": 21 | ||
} | ||
] | ||
}, | ||
"multiscales": [ | ||
{ | ||
"axes": [ | ||
{ | ||
"name": "c", | ||
"type": "channel" | ||
}, | ||
{ | ||
"name": "y", | ||
"type": "space" | ||
}, | ||
{ | ||
"name": "x", | ||
"type": "space" | ||
} | ||
], | ||
"coordinateTransformations": [ | ||
{ | ||
"input": { | ||
"axes": [ | ||
{ | ||
"name": "c", | ||
"type": "channel" | ||
}, | ||
{ | ||
"name": "y", | ||
"type": "space", | ||
"unit": "unit" | ||
}, | ||
{ | ||
"name": "x", | ||
"type": "space", | ||
"unit": "unit" | ||
} | ||
], | ||
"name": "cyx" | ||
}, | ||
"output": { | ||
"axes": [ | ||
{ | ||
"name": "c", | ||
"type": "channel" | ||
}, | ||
{ | ||
"name": "y", | ||
"type": "space", | ||
"unit": "unit" | ||
}, | ||
{ | ||
"name": "x", | ||
"type": "space", | ||
"unit": "unit" | ||
} | ||
], | ||
"name": "global" | ||
}, | ||
"type": "identity" | ||
} | ||
], | ||
"datasets": [ | ||
{ | ||
"coordinateTransformations": [ | ||
{ | ||
"scale": [ | ||
1.0, | ||
1.0, | ||
1.0 | ||
], | ||
"type": "scale" | ||
} | ||
], | ||
"path": "0" | ||
} | ||
], | ||
"name": "/images/raw_image", | ||
"version": "0.4" | ||
} | ||
] | ||
} |
3 changes: 3 additions & 0 deletions
3
src/napari_sparrow/_tests/test_data/multi_channel_zarr/sdata.zarr/images/raw_image/.zgroup
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,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
25 changes: 25 additions & 0 deletions
25
src/napari_sparrow/_tests/test_data/multi_channel_zarr/sdata.zarr/images/raw_image/0/.zarray
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,25 @@ | ||
{ | ||
"chunks": [ | ||
22, | ||
512, | ||
512 | ||
], | ||
"compressor": { | ||
"blocksize": 0, | ||
"clevel": 5, | ||
"cname": "lz4", | ||
"id": "blosc", | ||
"shuffle": 1 | ||
}, | ||
"dimension_separator": "/", | ||
"dtype": "<f4", | ||
"fill_value": 0.0, | ||
"filters": null, | ||
"order": "C", | ||
"shape": [ | ||
22, | ||
512, | ||
512 | ||
], | ||
"zarr_format": 2 | ||
} |
Binary file added
BIN
+15.1 MB
src/napari_sparrow/_tests/test_data/multi_channel_zarr/sdata.zarr/images/raw_image/0/0/0/0
Binary file not shown.
16 changes: 16 additions & 0 deletions
16
src/napari_sparrow/_tests/test_data/multi_channel_zarr/sdata.zarr/labels/.zattrs
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,16 @@ | ||
{ | ||
"labels": [ | ||
"masks_whole", | ||
"masks_whole", | ||
"masks_nuclear", | ||
"masks_nuclear_aligned", | ||
"masks_nuclear_aligned", | ||
"masks_nuclear_aligned", | ||
"masks_nuclear_aligned", | ||
"masks_nuclear_aligned", | ||
"masks_nuclear_aligned", | ||
"masks_nuclear_aligned", | ||
"masks_nuclear_aligned", | ||
"masks_nuclear_aligned" | ||
] | ||
} |
3 changes: 3 additions & 0 deletions
3
src/napari_sparrow/_tests/test_data/multi_channel_zarr/sdata.zarr/labels/.zgroup
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,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
70 changes: 70 additions & 0 deletions
70
...apari_sparrow/_tests/test_data/multi_channel_zarr/sdata.zarr/labels/masks_nuclear/.zattrs
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,70 @@ | ||
{ | ||
"image-label": { | ||
"version": "0.4" | ||
}, | ||
"multiscales": [ | ||
{ | ||
"axes": [ | ||
{ | ||
"name": "y", | ||
"type": "space" | ||
}, | ||
{ | ||
"name": "x", | ||
"type": "space" | ||
} | ||
], | ||
"coordinateTransformations": [ | ||
{ | ||
"input": { | ||
"axes": [ | ||
{ | ||
"name": "y", | ||
"type": "space", | ||
"unit": "unit" | ||
}, | ||
{ | ||
"name": "x", | ||
"type": "space", | ||
"unit": "unit" | ||
} | ||
], | ||
"name": "yx" | ||
}, | ||
"output": { | ||
"axes": [ | ||
{ | ||
"name": "y", | ||
"type": "space", | ||
"unit": "unit" | ||
}, | ||
{ | ||
"name": "x", | ||
"type": "space", | ||
"unit": "unit" | ||
} | ||
], | ||
"name": "global" | ||
}, | ||
"type": "identity" | ||
} | ||
], | ||
"datasets": [ | ||
{ | ||
"coordinateTransformations": [ | ||
{ | ||
"scale": [ | ||
1.0, | ||
1.0 | ||
], | ||
"type": "scale" | ||
} | ||
], | ||
"path": "0" | ||
} | ||
], | ||
"name": "masks_nuclear", | ||
"version": "0.4" | ||
} | ||
] | ||
} |
3 changes: 3 additions & 0 deletions
3
...apari_sparrow/_tests/test_data/multi_channel_zarr/sdata.zarr/labels/masks_nuclear/.zgroup
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,3 @@ | ||
{ | ||
"zarr_format": 2 | ||
} |
23 changes: 23 additions & 0 deletions
23
...ari_sparrow/_tests/test_data/multi_channel_zarr/sdata.zarr/labels/masks_nuclear/0/.zarray
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,23 @@ | ||
{ | ||
"chunks": [ | ||
512, | ||
512 | ||
], | ||
"compressor": { | ||
"blocksize": 0, | ||
"clevel": 5, | ||
"cname": "lz4", | ||
"id": "blosc", | ||
"shuffle": 1 | ||
}, | ||
"dimension_separator": "/", | ||
"dtype": "<i4", | ||
"fill_value": 0, | ||
"filters": null, | ||
"order": "C", | ||
"shape": [ | ||
512, | ||
512 | ||
], | ||
"zarr_format": 2 | ||
} |
Binary file added
BIN
+104 KB
src/napari_sparrow/_tests/test_data/multi_channel_zarr/sdata.zarr/labels/masks_nuclear/0/0/0
Binary file not shown.
Oops, something went wrong.