meerkat.cells package
Submodules
meerkat.cells.abstract module
meerkat.cells.spacy module
meerkat.cells.volume module
- class MedicalVolumeCell(paths: Union[str, pathlib.Path, os.PathLike, Sequence[Union[str, pathlib.Path, os.PathLike]]], loader: Optional[Callable] = None, transform: Optional[Callable] = None, cache_metadata: bool = False, *args, **kwargs)[source]
Bases:
meerkat.mixins.file.PathsMixin,meerkat.cells.abstract.AbstractCellInterface for loading medical volume data.
Examples
# Specify xray dicoms with default orientation
("SI", "AP"): >>> cell = MedicalVolumeCell(“/path/to/xray.dcm”, loader=DicomReader(group_by=None, default_ornt=(“SI”, “AP”))# Load multi-echo MRI volumes >>> cell = MedicalVolumeCell(“/path/to/mri/scan/dir”, loader=DicomReader(group_by=”EchoNumbers”))
- get(*args, cache_metadata: Optional[bool] = None, **kwargs)[source]
Get me the thing that this cell exists for.