Skip to main content

Package for simple and consistent creation and parsing of OME metadata for B24 of Diamond Light Source Ltd.

Project description


Package to help simply and consistently create and parse OME metadata for B24 of Diamond Light Source Ltd. This is a modified copy of python_bioformats' This package extends capabilities, predominantly in terms of ROIs, while offering a light-weight distribution of the omexml file.

Recommended import:

from oxdls import OMEXML

Current changes (compared to python-bioformats)

  • TiffData - this allows IFDs to be defined (created using def set_tiffdata_count(value))
  • set_ and get_ExposureTime() functions have been added
  • X, Y, Z units have been added for each plane
  • Square ROIs (an roiref must be created for each ROI first, then ROIs are created using set_roi_count(value), then for each ROI: ROI > Union > Rectangle, where ROI parameters can be set)
  • Small formatting changes to improve consistency

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for omexml-dls, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size omexml_dls-1.0.1-py3-none-any.whl (16.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size omexml-dls-1.0.1.tar.gz (14.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page