eda_plugin.utility.ome_metadata.OME

class eda_plugin.utility.ome_metadata.OME(ome=ome_types.model.OME, settings: pymm_eventserver.data_structures.MMSettings | None = None)

Bases: object

OME Metadata class based on ome_types

This class can be used to generate OME metadata during an acquisition using the EDA plugin. The writer implemented uses this and the methods to generate the metadata as the images come in.

__init__(ome=ome_types.model.OME, settings: pymm_eventserver.data_structures.MMSettings | None = None)

Methods

__init__([ome, settings])

add_plane_from_image(image)

The units are hardcoded for now.

channels_from_settings(channels)

Generate the channels from the channel information received from Micro-Manager.

detector_from_settings(detector)

Generate the detector from the information received from Micro-Manager.

finalize_metadata()

No more images to be expected, set the values for all images received so far.

init_from_settings(settings)

Initialize OME from MMSettings translated from Micro-Manager settings from java.

instrument_from_settings(microscope)

Generate the instrument from the information received from Micro-Manager.

microscope_from_settings(microscope)

Generate the microscope from the information received from Micro-Manager.

pixels_after_acqusition()

Generate the Pixels instance after all images where acquired and received.

add_plane_from_image(image: pymm_eventserver.data_structures.PyImage)

The units are hardcoded for now.

channels_from_settings(channels: List[pymm_eventserver.data_structures.MMChannel])

Generate the channels from the channel information received from Micro-Manager.

detector_from_settings(detector)

Generate the detector from the information received from Micro-Manager.

finalize_metadata()

No more images to be expected, set the values for all images received so far.

init_from_settings(settings: pymm_eventserver.data_structures.MMSettings)

Initialize OME from MMSettings translated from Micro-Manager settings from java.

instrument_from_settings(microscope)

Generate the instrument from the information received from Micro-Manager.

microscope_from_settings(microscope)

Generate the microscope from the information received from Micro-Manager.

pixels_after_acqusition() ome_types.model.Pixels

Generate the Pixels instance after all images where acquired and received.