Skip to main content

No project description provided

Project description

emdfile

EMD (Electron Microscopy Dataset) 1.0 is an HDF5 based file format which is designed to carry arbitrary data and metadata. An overview of the file specification can be found here.

emdfile is a Python package defining write and read functions and a set of classes which together interface between EMD 1.0 files and Python runtime objects. The classes are designed to quickly build, save to, and read from filetree-like representations of data and metadata, and is built on HDF5+h5py.

Installation

Run

pip install emdfile

Or, to install from source code, you can clone this repository and from the distribution level directory (i.e. where pyproject.toml lives) run

pip install .

Examples and syntax

For a few simple examples... ((this is coming extremely soon ish!))

For a longer, narrative intro example, see tutorials/emd_intro_example.ipynb.

For a detailed walkthrough of the syntax, see tutorials/emd_package_walkthrough.ipynb.

emdfile is designed to support I/O in downstream Python modules and packages. When tutorials/test_custom_classes.py is run as a script, it makes, saves, loads, then prints the contents of the data carrying classes defined in the tutorials/sample_custom_emd_classes Python module.

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

emdfile-0.0.6.tar.gz (405.0 kB view details)

Uploaded Source

Built Distribution

emdfile-0.0.6-py3-none-any.whl (48.1 kB view details)

Uploaded Python 3

File details

Details for the file emdfile-0.0.6.tar.gz.

File metadata

  • Download URL: emdfile-0.0.6.tar.gz
  • Upload date:
  • Size: 405.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for emdfile-0.0.6.tar.gz
Algorithm Hash digest
SHA256 276962e571b8262bef76b2910003bd9447a9f35a86678f8a792022274229c349
MD5 b5e7bb2986674bf256afbdb0f8f3f6a3
BLAKE2b-256 9118e70f1b2262586dfffa0953a418fc8144cf8c1754e26e5511fceffc69d8df

See more details on using hashes here.

File details

Details for the file emdfile-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: emdfile-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 48.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for emdfile-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a990396319c56fda098ee01ec3601982bd2c34c9c3bde753926a8e4130a31b5a
MD5 69938c2062fa1106435a4ab124d4e700
BLAKE2b-256 ce589e4900b96bb13db247307a174fa735c85e35beb758f2b590b78d418bb12b

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