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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: emdfile-0.0.12.tar.gz
  • Upload date:
  • Size: 410.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.12.tar.gz
Algorithm Hash digest
SHA256 f0b7cf5842489e9fa8cbe2f94f14e52abfe7aa81313d5e3838a2763ed02a5f01
MD5 8e3b5329023103860747efb2fd7af258
BLAKE2b-256 c90edabe9892c20a6f786566b113ce6d46d2ae5edf7fcd33e990569c088a407b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: emdfile-0.0.12-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.10.9

File hashes

Hashes for emdfile-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 09a731c8506640e437f6fb0d5fc45ca94751159084630961c800bad5537fbfb9
MD5 594b8a733edb398c13b05e906e5c5bf0
BLAKE2b-256 8b202049afbacfbf7b7824fe4fc616e7e92b301c18e19af146029a41fe6ce1c1

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