Skip to content

ND2File (compatibility layer)

ND2File now lives in limnd2.nd2_compatability. The old limnd2.nd2file module is a shim kept for backward compatibility.

This file serves as a compatibility layer between the limnd2 library by Laboratory Imaging s.r.o. and the nd2 library by Harvard Medical School microscopist Talley Lambert.

It is designed for users familiar with Talley Lambert's nd2 library, providing a seamless transition by mimicking its interface while utilizing the limnd2 library as the underlying implementation.

We extend our heartfelt thanks to Talley Lambert for his outstanding work on the nd2 library, which has greatly benefited the imaging community, and for his invaluable input in helping us develop the limnd2 library.

Under Development

This feature is under development. Only some methods are currently supported and sometimes only partially.

ND2File

ND2File(path: FileOrBinaryIO, *, validate_frames: bool = False, search_window: int = 100)

attributes cached property

attributes: Attributes

works

experiment cached property

experiment: list[ExpLoop]

works for T, M, Z experiments

path property

path: str

works

version cached property

version: tuple[int, ...]

works

jobs

jobs()

Return JOBS metadata if available, else None.

limnd2 compatibility layer does not currently parse JOBS metadata, so this returns None for now.