Skip to content
Snippets Groups Projects
Commit b661d747 authored by Christian Kento Rasmussen's avatar Christian Kento Rasmussen
Browse files

Add type hints for parameters in scaling methods and fixed method name

parent 796a718b
No related branches found
No related tags found
No related merge requests found
...@@ -161,7 +161,7 @@ class OMEScaler( ...@@ -161,7 +161,7 @@ class OMEScaler(
return list(rv) return list(rv)
def scaleZYXdask_legacy(self, base): def scaleZYXdask_legacy(self, base: da.core.Array):
"""Downsample using the original OME-Zarr python library""" """Downsample using the original OME-Zarr python library"""
rv = [base] rv = [base]
...@@ -179,7 +179,7 @@ class OMEScaler( ...@@ -179,7 +179,7 @@ class OMEScaler(
log.info(f"- Scale {i+1}: {rv[-1].shape}") log.info(f"- Scale {i+1}: {rv[-1].shape}")
return list(rv) return list(rv)
def scaleZYXmean(self, base): def scaleZYXdask_mean(self, base: da.core.Array):
""" Downsample using the mean of the pixels in each block """ Downsample using the mean of the pixels in each block
Args: Args:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment