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

Uploaded Source

Built Distribution

emdfile-0.0.9-py3-none-any.whl (48.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: emdfile-0.0.9.tar.gz
  • Upload date:
  • Size: 406.7 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.9.tar.gz
Algorithm Hash digest
SHA256 fdc98b31684d9a298a6fc63733c16ab1e852af1fb77343acbd19fd7fc5c0cdcb
MD5 bf88d6b28e1bbcd0839e068d036df35a
BLAKE2b-256 a37fe2886e2594ff6740e65d299d0882fa7f95542f8a3f6fdbfe8db3dbac4b58

See more details on using hashes here.

File details

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

File metadata

  • Download URL: emdfile-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 48.0 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 84bb0e3bf8b2746b06e7943d85b3b35ce8758ebbf83047557b06aba0dcbc65ea
MD5 2dec982faa381b32e214fbf1779cc4bd
BLAKE2b-256 2a6c47cf83907c27b430656d23f5af993b7fed32ceb3142d751f7904f7b9f5c7

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