cellmap_flow.utils.neuroglancer_utils
Attributes
Functions
|
Return the raw multiscale scale (as a tuple of nm) closest to the |
|
Build a source spec for the prediction zarr that overrides the |
|
|
|
Module Contents
- cellmap_flow.utils.neuroglancer_utils.logger
- cellmap_flow.utils.neuroglancer_utils.get_raw_closest_scale(dataset_path, target_resolution)
Return the raw multiscale scale (as a tuple of nm) closest to the model’s target resolution, or None if it can’t be determined.
- cellmap_flow.utils.neuroglancer_utils.build_prediction_source(host, model, st_data, override_scales)
Build a source spec for the prediction zarr that overrides the source dimensions’ scales so the layer overlays the raw at its native resolution (e.g. claim a 16nm model output is actually at 12nm).
The prediction zarr is 4D (z, y, x, c). We override the spatial scales and leave the channel dim as a unitless dimension.
- cellmap_flow.utils.neuroglancer_utils.generate_neuroglancer_url(dataset_path, wrap_raw=True)
- cellmap_flow.utils.neuroglancer_utils.show(viewer)