This release is a pre-release and may not be stable for production use.
bioio-emd
A BioIO plugin for reading and writing .emd images. It follows the BioIO reader and writer plugin APIs so files can be opened through bioio.BioImage alongside other format plugins.
Reading .emd files
from bioio import BioImage
import bioio_emd
img = BioImage("file.emd", reader=bioio_emd.Reader)
img.data
Accessing metadata
Source axes are mapped onto TCZYX. Known names such as x, y, z, and thickness keep their spatial axes. A non-navigation axis, such as complex, becomes the channel axis. Remaining axes fill unused slots in the order T, C, Z, Y, X.
img.dims.order # "TCZYX"
img.dims.T, img.dims.C, img.dims.Z, img.dims.Y, img.dims.X
img.channel_names
img.physical_pixel_sizes # Z, Y, X in micrometers
img.metadata is the file metadata dictionary. Classic Berkeley EMD files include the root version and the microscope, sample, and user groups:
img.metadata["sample"]["material"]
img.metadata["microscope"]["voltage"]
Writing .emd files
from bioio.writers import EmdWriter
EmdWriter.save(image, "file.emd", dim_order="ZYX")
Metadata
Release files for bioio-emd 0.1.0.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bioio_emd-0.1.0.dev1.tar.gz | 19.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bioio_emd-0.1.0.dev1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.8 kB
Release files / bioio_emd-0.1.0.dev1.tar.gz
| Download URL | bioio_emd-0.1.0.dev1.tar.gz |
|---|---|
| Size | 19.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8cccb24c714418207ad43f35482c51ea8ba6ab32d1578b676fa7a3e3db03f5ee
|
|
BLAKE2b-256 checksum How to use checksums |
1065ab3cda174d99ee0d503261eb178c0a041d5d4b9be700bbd9047d9500e169
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency logRelease files / bioio_emd-0.1.0.dev1-py3-none-any.whl
| Download URL | bioio_emd-0.1.0.dev1-py3-none-any.whl |
|---|---|
| Size | 19.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3269e0e5ebbad15d72b4964ac7f66f3623971495b0b396b15b39f5f9c9fd7aeb
|
|
BLAKE2b-256 checksum How to use checksums |
e54416800ed1d81f4cf4f079950a25cf14021297d9a306fbffd0121f41feb63e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency log