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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file emdfile-0.0.13.tar.gz
.
File metadata
- Download URL: emdfile-0.0.13.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 698b0c233e74953b22df2684198c46bb71e66934150456975618bf3a68d819c9 |
|
MD5 | 1ddeeb756cae73705347078a7fe9ee96 |
|
BLAKE2b-256 | 86e5dcabcf0ee2db14a884c50e2834970673b61f7c42f6f1c6aed9c120bddfe1 |
File details
Details for the file emdfile-0.0.13-py3-none-any.whl
.
File metadata
- Download URL: emdfile-0.0.13-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e564faa5cda1c99000abe6809060905c0459e01b9c8146bf5dd84c9286ac4fd |
|
MD5 | 103e1bf734e62d9f8716b551f2865369 |
|
BLAKE2b-256 | cf07fef769ee17a05ff449a48ac0dfde73ff073f4027cb9ad0070b3c4ca8c6f3 |