Skip to main content

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

Project description

omexml-dls

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' omexml.py with a section from the Allen Institute for Cell Science's aicsimageio version of omexml.py (indicated within the file). 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 set_tiffdata_count(value)) (from aicsimageio)
  • 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.

Source Distribution

omexml-dls-1.0.3.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

omexml_dls-1.0.3-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file omexml-dls-1.0.3.tar.gz.

File metadata

  • Download URL: omexml-dls-1.0.3.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for omexml-dls-1.0.3.tar.gz
Algorithm Hash digest
SHA256 5aafeeefa34bceb112cb31ae565fef2c5445e39253efe44f6ed46046dd587792
MD5 2178825e0ef5e854dafae371eed6f295
BLAKE2b-256 80d0dc58bf2c40df8f4daf4717a7d63ecee97d1a40c08be4c9f22e0b1c436e3d

See more details on using hashes here.

File details

Details for the file omexml_dls-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: omexml_dls-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for omexml_dls-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c67cc6c0620bcd7496f52867c10bec0394af1cafb4865a4ed66a1cac534f9a34
MD5 9b5a149d5f5723dbd3e72729994b553d
BLAKE2b-256 b1bd64fd2d61891305a1b6be3b1a47bb826a4d0d102659d5147331bd265fbc6e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page