ngio 0.1.5__py3-none-any.whl → 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ngio/__init__.py +33 -5
- ngio/common/__init__.py +54 -0
- ngio/common/_array_pipe.py +265 -0
- ngio/common/_axes_transforms.py +64 -0
- ngio/common/_common_types.py +5 -0
- ngio/common/_dimensions.py +120 -0
- ngio/common/_masking_roi.py +158 -0
- ngio/common/_pyramid.py +228 -0
- ngio/common/_roi.py +165 -0
- ngio/common/_slicer.py +96 -0
- ngio/{pipes/_zoom_utils.py → common/_zoom.py} +51 -83
- ngio/hcs/__init__.py +5 -0
- ngio/hcs/plate.py +448 -0
- ngio/images/__init__.py +23 -0
- ngio/images/abstract_image.py +349 -0
- ngio/images/create.py +270 -0
- ngio/images/image.py +453 -0
- ngio/images/label.py +285 -0
- ngio/images/masked_image.py +273 -0
- ngio/images/ome_zarr_container.py +738 -0
- ngio/ome_zarr_meta/__init__.py +47 -0
- ngio/ome_zarr_meta/_meta_handlers.py +791 -0
- ngio/ome_zarr_meta/ngio_specs/__init__.py +71 -0
- ngio/ome_zarr_meta/ngio_specs/_axes.py +481 -0
- ngio/ome_zarr_meta/ngio_specs/_channels.py +389 -0
- ngio/ome_zarr_meta/ngio_specs/_dataset.py +134 -0
- ngio/ome_zarr_meta/ngio_specs/_ngio_hcs.py +377 -0
- ngio/ome_zarr_meta/ngio_specs/_ngio_image.py +489 -0
- ngio/ome_zarr_meta/ngio_specs/_pixel_size.py +116 -0
- ngio/ome_zarr_meta/v04/__init__.py +23 -0
- ngio/ome_zarr_meta/v04/_v04_spec_utils.py +485 -0
- ngio/tables/__init__.py +24 -6
- ngio/tables/_validators.py +190 -0
- ngio/tables/backends/__init__.py +8 -0
- ngio/tables/backends/_abstract_backend.py +71 -0
- ngio/tables/backends/_anndata_utils.py +198 -0
- ngio/tables/backends/_anndata_v1.py +76 -0
- ngio/tables/backends/_json_v1.py +56 -0
- ngio/tables/backends/_table_backends.py +102 -0
- ngio/tables/tables_container.py +310 -0
- ngio/tables/v1/__init__.py +5 -5
- ngio/tables/v1/_feature_table.py +182 -0
- ngio/tables/v1/_generic_table.py +160 -179
- ngio/tables/v1/_roi_table.py +366 -0
- ngio/utils/__init__.py +26 -10
- ngio/utils/_datasets.py +53 -0
- ngio/utils/_errors.py +10 -4
- ngio/utils/_fractal_fsspec_store.py +13 -0
- ngio/utils/_logger.py +3 -1
- ngio/utils/_zarr_utils.py +401 -0
- {ngio-0.1.5.dist-info → ngio-0.2.0.dist-info}/METADATA +31 -43
- ngio-0.2.0.dist-info/RECORD +54 -0
- ngio/core/__init__.py +0 -7
- ngio/core/dimensions.py +0 -122
- ngio/core/image_handler.py +0 -228
- ngio/core/image_like_handler.py +0 -549
- ngio/core/label_handler.py +0 -410
- ngio/core/ngff_image.py +0 -387
- ngio/core/roi.py +0 -92
- ngio/core/utils.py +0 -287
- ngio/io/__init__.py +0 -19
- ngio/io/_zarr.py +0 -88
- ngio/io/_zarr_array_utils.py +0 -0
- ngio/io/_zarr_group_utils.py +0 -61
- ngio/iterators/__init__.py +0 -1
- ngio/ngff_meta/__init__.py +0 -27
- ngio/ngff_meta/fractal_image_meta.py +0 -1267
- ngio/ngff_meta/meta_handler.py +0 -92
- ngio/ngff_meta/utils.py +0 -235
- ngio/ngff_meta/v04/__init__.py +0 -6
- ngio/ngff_meta/v04/specs.py +0 -158
- ngio/ngff_meta/v04/zarr_utils.py +0 -376
- ngio/pipes/__init__.py +0 -7
- ngio/pipes/_slicer_transforms.py +0 -176
- ngio/pipes/_transforms.py +0 -33
- ngio/pipes/data_pipe.py +0 -52
- ngio/tables/_ad_reader.py +0 -80
- ngio/tables/_utils.py +0 -301
- ngio/tables/tables_group.py +0 -252
- ngio/tables/v1/feature_tables.py +0 -182
- ngio/tables/v1/masking_roi_tables.py +0 -243
- ngio/tables/v1/roi_tables.py +0 -285
- ngio/utils/_common_types.py +0 -5
- ngio/utils/_pydantic_utils.py +0 -52
- ngio-0.1.5.dist-info/RECORD +0 -44
- {ngio-0.1.5.dist-info → ngio-0.2.0.dist-info}/WHEEL +0 -0
- {ngio-0.1.5.dist-info → ngio-0.2.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""Utilities for reading and writing OME-Zarr metadata."""
|
|
2
|
+
|
|
3
|
+
from ngio.ome_zarr_meta._meta_handlers import (
|
|
4
|
+
ImageMetaHandler,
|
|
5
|
+
LabelMetaHandler,
|
|
6
|
+
find_image_meta_handler,
|
|
7
|
+
find_label_meta_handler,
|
|
8
|
+
find_plate_meta_handler,
|
|
9
|
+
find_well_meta_handler,
|
|
10
|
+
get_image_meta_handler,
|
|
11
|
+
get_label_meta_handler,
|
|
12
|
+
get_plate_meta_handler,
|
|
13
|
+
get_well_meta_handler,
|
|
14
|
+
)
|
|
15
|
+
from ngio.ome_zarr_meta.ngio_specs import (
|
|
16
|
+
AxesMapper,
|
|
17
|
+
Dataset,
|
|
18
|
+
ImageInWellPath,
|
|
19
|
+
NgioImageMeta,
|
|
20
|
+
NgioLabelMeta,
|
|
21
|
+
NgioPlateMeta,
|
|
22
|
+
NgioWellMeta,
|
|
23
|
+
PixelSize,
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
__all__ = [
|
|
27
|
+
"AxesMapper",
|
|
28
|
+
"Dataset",
|
|
29
|
+
"ImageInWellPath",
|
|
30
|
+
"ImageMetaHandler",
|
|
31
|
+
"ImageMetaHandler",
|
|
32
|
+
"LabelMetaHandler",
|
|
33
|
+
"LabelMetaHandler",
|
|
34
|
+
"NgioImageMeta",
|
|
35
|
+
"NgioLabelMeta",
|
|
36
|
+
"NgioPlateMeta",
|
|
37
|
+
"NgioWellMeta",
|
|
38
|
+
"PixelSize",
|
|
39
|
+
"find_image_meta_handler",
|
|
40
|
+
"find_label_meta_handler",
|
|
41
|
+
"find_plate_meta_handler",
|
|
42
|
+
"find_well_meta_handler",
|
|
43
|
+
"get_image_meta_handler",
|
|
44
|
+
"get_label_meta_handler",
|
|
45
|
+
"get_plate_meta_handler",
|
|
46
|
+
"get_well_meta_handler",
|
|
47
|
+
]
|