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.1.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

omexml_dls-1.1.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: omexml-dls-1.1.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for omexml-dls-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e8ca71c5abdf87a8c3631046964113f79024b306ae3d9e9babec6e9444fdc29b
MD5 b3f2b13a898d4ae14a9adbe08ac1e4e8
BLAKE2b-256 d3e76fc70bd9ce7396389b13bcbbc8f72f96ee33faa355ca7c6c13da8d08431d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: omexml_dls-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for omexml_dls-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc28ad30329138bc2326b0e8f1da34555ab4da1b573ced66cf2666d4e1c4dc65
MD5 33a5de8900f202f5dbec4e9a35daf65a
BLAKE2b-256 c0a9cc31a09b4b6ed211dd063c7a8a74a53b1ecc4390e6d1bc65f5f4770f8e4f

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