Changelog¶
0.3.1.dev0¶
Current development version for the next ConfUSIus release.
0.3.0¶
Released 2026-05-27.
Breaking changes¶
register_volumenow also returns aRegistrationDiagnosticsdataclass with the per-iteration metric values, final metric value, iteration count, optimizer stop condition, and the metric name.register_volumewisealways adds per-framefinal_metric_valueandn_iterationscolumns tomotion_params, and exposes the full per-frame diagnostics list underattrs["registration_diagnostics"]only when called withkeep_diagnostics=Trueto avoid retaining the full optimizer metric trace by default (#139).- Renamed
validate_iqtovalidate_iq_dataarray(#153).
Enhancements¶
- Added a
maskargument to thePCA,FastICA,SeedBasedMaps, andFirstLevelModelestimators, restricting fitting and projection to the selected voxels. Output maps retain the full spatial geometry, with voxels outside the mask set to0(#155). - Added
plot_composite,VolumePlotter.add_composite, and a matchingdata.fusi.plot.compositeaccessor that render two volumes as a red/cyan RGB overlay (#145). - Added
datatypesfilter tofetch_cybis_pereira_2026, allowing downloads to be scoped to specific BIDS datatype directories ("fusi","angio","motion") (#141). - Added
fetch_template_huang_2025for downloading and loading the Huang et al. vascular mouse template from OSF, with cache/refresh behavior matching existing template fetchers (#162). - Added
show_progressto volumewise registration so joblib progress output can be disabled in scripted or quiet workflows (#126). - Added a reusable
validate_fusi_dataarrayvalidator and refactored IQ/registration validation to use it. Core dimension coordinates are now validated as 1D, numeric, finite, and strictly increasing, while extra/non-dimension coordinates remain allowed (#153). - Added shared
fontsizeparameter toplot_volume,plot_contours, and carpet plotting entry points so text sizing is consistent across all plotting APIs (#128). - Replaced plotting
black_bgwith explicitbg_colorandfg_colorcontrols for clearer visual customization (#124). - Added
FastICAtransformer for independent component analysis of fUSI recordings, with the same xarray-awarefit/transform/inverse_transformAPI asPCA(#118). - Added example gallery helper utilities to streamline writing and maintaining docs examples (#102).
Documentation¶
- Added a Registration of two sessions from the same
subject example
demonstrating
register_volume, the new diagnostics, and confusius'splot_compositeoverlay pattern for inspecting alignment before and after registration (#139).
Fixes¶
- Fixed
resample_likeandresample_volumefilling out-of-FOV voxels with0.0when resampling onto a larger grid. This caused a bright background artifact for dB-scaled data (where 0 is maximum intensity). Thedefault_valueparameter now defaults tofloat(moving.min())instead of0.0.register_volumegains afill_valueparameter that overrides the default for both the final resampled output and the live progress composite overlay (#138). - Fixed plotting hover information silently disappearing when the returned
VolumePlotterwas not held in a variable (e.g.obj.fusi.plot.volume().show()). The hover manager is now kept alive until the figure is closed (#148). - Fixed napari x-axis extent computation to ignore the interactive cursor guide line, preventing incorrect plot bounds (#111).
Performance¶
- Top-level
confusiusandconfusius.xarraynamespaces now use SPEC-0001 PEP 562 lazy loading. Submodules and exported functions are only imported on first access, reducingimport confusiusoverhead for workflows that use a subset of the package.
Maintenance¶
- Switched documentation hosting to GitHub Pages with
mikeversioning and automatic PR preview deployments (#134).
0.2.0¶
Released 2026-05-05.
First official public beta release of ConfUSIus.
Highlights¶
- ConfUSIus now covers the core alpha roadmap, including I/O, beamformed IQ processing, registration, quality control, atlas integration, signal processing, decomposition, functional connectivity, and general linear model workflows.
- The package provides both a Python API and a napari plugin for interactive data loading, visualization, signal inspection, and quality control.
Notes¶
0.1.0was used only to reserve theconfusiusproject name on PyPI and is not a supported public release.0.2.0is therefore the first official public release series for ConfUSIus.