VibFrame to AnnData
Python package for staged conversion of TWave VibFrame data into reusable AnnData datasets.
Public user and API documentation: https://413hq.github.io/vibframe-anndata-docs/
The workflow is intentionally split in two phases:
- Ingest raw VibFrame data once into an AnnData base (
obs,obsm,uns). - Add, recalculate or remove features from the raw signals already stored in AnnData, without reopening the original VibFrame.
For datasets that fit comfortably in memory:
from vibframe_anndata import add_features, import_raw, remove_features, write_h5ad
adata = import_raw("dataset.vibframe.zip")
write_h5ad(adata, "dataset_raw.h5ad")
adata = add_features(
adata,
{
"version": 1,
"features": [
{"name": "rms", "source": "waveform"},
{"name": "kurtosis", "source": "waveform"},
],
},
)
adata = remove_features(adata, ["kurtosis"])
write_h5ad(adata, "dataset_features.h5ad")
For datasets larger than RAM, use the blockwise H5AD APIs:
from vibframe_anndata import import_raw_to_h5ad, add_features_to_h5ad
base = import_raw_to_h5ad(
"dataset.vibframe.zip",
"dataset_raw.h5ad",
config={
"version": 1,
"raw_import": {"on_missing_signal": "nan"},
"output": {"dtype": "float32"},
},
block_size_mib=8,
)
add_features_to_h5ad(
base,
{
"version": 1,
"output": {"dtype": "float32"},
"feature_policy": {"on_error": "nan"},
"features": [{"name": "rms", "source": "waveform"}],
},
output="dataset_features.h5ad",
block_rows=256,
)
The large-file path is transactional: raw samples are read in observation blocks and the destination is replaced only after all feature blocks succeed.
Install from PyPI:
python -m pip install vibframe-anndata
Install for development:
python -m pip install -e ".[dev]"
The repository intentionally does not version the project data/ directory. The mandatory CI fixture is generated deterministically from versioned synthetic source.
License
The software package is released under the BSD 3-Clause License, allowing academic and research users to inspect, modify and redistribute the code while retaining the copyright and license notices.
The BSD license applies to the software source code distributed by this project. External or reference datasets, VibFrame captures and other third-party material are not relicensed by this repository unless explicitly stated. Release archives exclude VibFrame reference binaries and the local data/ tree.
Documentation
User-facing and API documentation is published independently of this repository and versioned with package releases:
- Public documentation: https://413hq.github.io/vibframe-anndata-docs/
- Versioned API reference: https://413hq.github.io/vibframe-anndata-docs/latest/reference/api/
- Known limitations: https://413hq.github.io/vibframe-anndata-docs/latest/reference/limitations/
Internal development, architecture, benchmark and requirements documentation remains under docs/ in this repository.
Release files for vibframe-anndata 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vibframe_anndata-0.2.0.tar.gz | 148.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vibframe_anndata-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 231.8 kB
Release files / vibframe_anndata-0.2.0.tar.gz
| Download URL | vibframe_anndata-0.2.0.tar.gz |
|---|---|
| Size | 148.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b607255aba10da7f60d45c46b1c9f11a4b33462e10695ca21d9f4fcb870c913c
|
|
BLAKE2b-256 checksum How to use checksums |
6d2deb0638656ee1f14bd4d9f2f5b1c74bf6318280687361cd6ecb8f39ee9196
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.
Transparency logRelease files / vibframe_anndata-0.2.0-py3-none-any.whl
| Download URL | vibframe_anndata-0.2.0-py3-none-any.whl |
|---|---|
| Size | 82.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6bab42f822ad14d9ff13f7f71b05faf7d04f950e43ce7361b67fd7554d47261e
|
|
BLAKE2b-256 checksum How to use checksums |
f5a45aba42034834c1e8ad4e42d04657b931a07e012efc66029bbf772b59570b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 13, 2026.
Transparency log