DBDelve
Dive deep into your data. A fast, native, multi-engine database client written in Rust. Free and open source, no telemetry.
Fast writing of numpy 3d-arrays into HDF5 Fiji/BigDataViewer files.
Translation pending
Developer toolsPythonGitHub @nvladimusOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗A library for writing/reading HDF5/XML datasets of Fiji BigDataViewer/BigStitcher format as numpy arrays.
Run pip install npy2bdv in the command line. Use import npy2bdv in the code.
With mamba (or conda):
git clone https://github.com/nvladimus/npy2bdv.git
cd npy2bdv
mamba env create -f environment.yml
mamba activate npy2bdv
Or with pip only: pip install -e .[dev].
Run the tests from the repo root: python -m pytest test.
Bump version in pyproject.toml, then publish a GitHub release tagged v<version>.
The publish workflow runs the tests and uploads the package to PyPI.
The docs are rebuilt and deployed to GitHub Pages on every push to master
(docs workflow). To build them locally:
pip install -e .[docs], then sphinx-build -b html docs/source docs/build/html.
https://nvladimus.github.io/npy2bdv/: a user guide with code examples, and a detailed API reference.
Larger, timed examples are in the Jupyter notebook.
uint16 (default), uint8, float32: BdvWriter(..., dtype='float32').
Types other than uint16 need an up-to-date Fiji (BigDataViewer-core >= 10.4.6).None, gzip, lzf (None by default).4,256,256)name, exposureTime, exposureUnitsmicroscope (name and version), userSee Recent changes
Currently speeds between 150 - 320 MB/s were achieved with confidence. Speeds of up to 2300 MB/s reported in earlier versions are likely due to bugs in testing methods in notebook examples_h5writing.ipynb. More testing is underway.
This code was inspired by Talley Lambert's code and improved by generous input from Adam Glaser, VolkerH, Doug Shepherd, Peter H, Mike Taormina, Pradeep Rajasekhar and aaronkanzer.
To report issues or bugs please use the issues tool.
You can cite it like so
It will give me some dopamine and motivation to keep improving it :heart: