Skip to content

Per-frame metadata in UAPI #155

@ziw-liu

Description

@ziw-liu

In #132 (comment) (@talonchandler) and #103 (comment) (@JoOkuma) the need for accessing each time stamp in a time lapse image is surfaced. However, implementing a clean API at the FOV level is not very straightforward, so we settled on a scalar (uniform delta) for FOVs.

In #151 a more general feature is requested by @ieivanov to access metadata specific to each frame.

IMO the XY frame is indeed a physically grounded entity (readout from the 2D camera sensor), and accessing metadata such as exact time stamp and hardware settings can be useful. It may reduce confusion if these is a shared API across file formats, but I think it adds too much complexity to let frames have their own type, so I'm imagining BaseFOV methods that will return these information given the coordinates. For example:

BaseFOV.frame_camera_timestamp(T: int, C: int, Z: int) -> datetime.datetime:
    ...

And MMStack readers can have their own base class providing the specific hardware information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NGFFOME-NGFF (OME-Zarr format)enhancementNew feature or requestμManagerMicro-Manager files and metadata

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions