diff --git a/core/lls_core/models/lattice_data.py b/core/lls_core/models/lattice_data.py index 838b56f5..a8816e0b 100644 --- a/core/lls_core/models/lattice_data.py +++ b/core/lls_core/models/lattice_data.py @@ -340,7 +340,7 @@ def _process_crop(self) -> Iterable[ImageSlice]: if self.deconvolution is not None: deconv_args = dict( num_iter = self.deconvolution.psf_num_iter, - psf = self.deconvolution.psf[slice.channel], + psf = self.deconvolution.psf[slice.channel].to_numpy(), decon_processing=self.deconvolution.decon_processing ) diff --git a/core/pyproject.toml b/core/pyproject.toml index e04bddd6..756d9260 100644 --- a/core/pyproject.toml +++ b/core/pyproject.toml @@ -83,7 +83,7 @@ testing = [ "pytest-cov", # https://pytest-cov.readthedocs.io/en/latest/ "napari" # We use napari for type checking only, and not at runtime ] -psf = [ +deconvolution = [ "pycudadecon" ]