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

Uploaded Source

Built Distribution

emdfile-0.0.15-py3-none-any.whl (50.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: emdfile-0.0.15.tar.gz
  • Upload date:
  • Size: 413.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.2

File hashes

Hashes for emdfile-0.0.15.tar.gz
Algorithm Hash digest
SHA256 e1656dfd751ce7948814aff1da12094a50f1057eed08688ff82afebe117cf301
MD5 8812c0af84d13bee681ad28952818a8d
BLAKE2b-256 6f35a09ee9c71b7bde7a3864bcfae958a567c67da7b059b49b8caef74b4104af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: emdfile-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 50.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.2

File hashes

Hashes for emdfile-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 2cfa7a926f957d0fd0191e961a9ac61675a3be78b3aca2a303fcb37e0ce90410
MD5 311f1d394a8f754f8b29b42bae3c9a76
BLAKE2b-256 e2d867a1f0b1b4e0700868a61bf23f4b768fb765c44c57412b2794aeb53520cd

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