Examples¶
These examples show how to use ConfUSIus on real data, with an emphasis on workflows you can run and adapt in your own analyses.
Each example starts from a plain Python script and is rendered as a notebook-style page with code, outputs, and downloadable source files.
Getting Started¶
First steps with ConfUSIus: loading a recording, working with Xarray-backed data, and building simple summaries and visualizations.
-
This example demonstrates how to use ConfUSIus to load and handle fUSI data as DataArray instances. We will use a small subset of the Nunez-Elizalde 2022 dataset and use a few basic Xarray operations to inspect, subset, and summarize the data.
Registration¶
Aligning fUSI recordings across sessions, subjects, or to a reference anatomy with ConfUSIus's volume registration tools.
-
Registration of two sessions from the same subject
This example shows how to align two power Doppler images acquired from the same subject in different sessions. We use
register_volumewith a rigid transform, which is appropriate when the imaged anatomy is the same but the probe placement differs slightly between the two recordings.
Decomposition¶
Extracting spatiotemporal structure from fUSI recordings using dimensionality reduction techniques such as PCA and FastICA.
-
PCA on a single fUSI recording
This example shows how to use principal component analysis (PCA) to decompose a fUSI recording into principal axes of variance.
-
FastICA on a single fUSI recording
This example shows how to use FastICA to decompose a fUSI recording into independent components.