Repository navigation
💎 New pixel types uint8 and float32: BdvWriter(..., dtype='uint8') (issue #10). BdvEditor detects the type
from the H5 file. The H5 file follows the BigDataViewer convention (dataType attribute of each setup), readable in
Fiji with BigDataViewer-core >= 10.4.6. uint16 files are unchanged and still open in older Fiji.
🐛 Bugfix: BdvWriter.append_view() can skip time points or write them out of order (PR #19 by @aaronkanzer)
🐛 Bugfix: pyramid levels of virtual stacks written by append_substack() are correct when substack edges
do not align with subsampling factors (PR #20 by @aaronkanzer)
💎 BdvWriter warns (UserWarning) when casting input data to the file's pixel type changes values,
e.g. float data with fractions into uint16, or values above 255 into uint8 (issue #10). Lossless casts are not checked
and cost nothing.
❗ BdvWriter.append_view() raises ValueError if a setup gets a different shape at another time point,
instead of writing an XML file with a wrong view size.
🐛 Bugfix: BdvWriter.create_pyramids(compression=...) now applies the given compression (it was ignored).
🐛 Bugfix: virtual stacks accept HDF5 block sizes larger than a (downsampled) level, like normal stacks.
📖 New documentation site with a user guide, code examples and a detailed API reference:
https://nvladimus.github.io/npy2bdv/. All code examples run as part of the tests.
🔧 Docs are built and deployed to GitHub Pages automatically; publishing a GitHub release uploads to PyPI.
🐛 Bugfix: append_substack() offsets are divided by the subsampling factors (issue #17; fixed on master earlier, first released now).
🔧 Tested on Python 3.12 (numpy 2.5, h5py 3.16, scikit-image 0.26). Packaging moved to pyproject.toml; environment.yml added for mamba/conda installs.
Install: pip install -U npy2bdv · Docs: https://nvladimus.github.io/npy2bdv/