Skip to content

Commit

Permalink
Convert psf to numpy in crop workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
multimeric committed Aug 16, 2024
1 parent 5f29bc7 commit 785010e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/lls_core/models/lattice_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
2 changes: 1 addition & 1 deletion core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]

Expand Down

0 comments on commit 785010e

Please sign in to comment.