Skip to content

Commit

Permalink
Merge pull request #19 from lincbrain/oct_mat_to_zarr
Browse files Browse the repository at this point in the history
Convert PS-OCT MAT files to OME-Zarr
  • Loading branch information
calvinchai authored Nov 21, 2024
2 parents 6e67976 + ad90a04 commit 11fb472
Show file tree
Hide file tree
Showing 12 changed files with 1,272 additions and 770 deletions.
4 changes: 2 additions & 2 deletions linc_convert/modalities/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Converters for all imaging modalities."""

__all__ = ["df", "lsm"]
from . import df, lsm
__all__ = ["df", "lsm", "psoct"]
from . import df, lsm, psoct
8 changes: 6 additions & 2 deletions linc_convert/modalities/df/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Dark Field microscopy converters."""

__all__ = ["cli", "multi_slice", "single_slice"]
try:
import glymur as _ # noqa: F401

from . import cli, multi_slice, single_slice
__all__ = ["cli", "multi_slice", "single_slice"]
from . import cli, multi_slice, single_slice
except ImportError:
pass
9 changes: 7 additions & 2 deletions linc_convert/modalities/lsm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
"""Light Sheet Microscopy converters."""

__all__ = ["cli", "mosaic"]
from . import cli, mosaic
try:
import tifffile as _ # noqa: F401

__all__ = ["cli", "mosaic"]
from . import cli, mosaic
except ImportError:
pass
10 changes: 10 additions & 0 deletions linc_convert/modalities/psoct/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"""Polarization-sensitive optical coherence tomography converters."""

try:
import h5py as _h5py # noqa: F401
import scipy as _scipy # noqa: F401

__all__ = ["cli", "multi_slice", "single_volume"]
from . import cli, multi_slice, single_volume
except ImportError:
pass
Loading

0 comments on commit 11fb472

Please sign in to comment.