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

Uploaded Source

Built Distribution

emdfile-0.0.14-py3-none-any.whl (49.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for emdfile-0.0.14.tar.gz
Algorithm Hash digest
SHA256 4730f39fd19bc8d8d410193ec7ebc89a839a01f39fa3e794051f5507530b60bf
MD5 9bf4009cfdbfa78e7f64352fae681802
BLAKE2b-256 ccc2a74447673bcee29f3f418041fb23df993cd53df4675d2c35454404ec88e4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for emdfile-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 644a7d11433ce2040a78269a4f8df268e4c79991c20de5d9b5405ec5e505203f
MD5 6394857e45f9c10ed52bfe46263ca226
BLAKE2b-256 cf44ffff29ab684dbc9035765d0ab023f57a09aa59f610dc9ac6a6a426f0d4d4

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