Skip to content

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.

  • ConfUSIus and Xarray 101ConfUSIus and Xarray 101


    ConfUSIus and Xarray 101

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 subjectRegistration of two sessions from the same subject


    Registration of two sessions from the same subject

  • Motion correction of a single recordingMotion correction of a single recording


    Motion correction of a single recording

  • Register a recording to an Allen fUSI templateRegister a recording to an Allen fUSI template


    Register a recording to an Allen fUSI template

Decomposition

Extracting spatiotemporal structure from fUSI recordings using dimensionality reduction techniques such as PCA, FastICA, and NMF.

  • PCA on a single fUSI recordingPCA on a single fUSI recording


    PCA on a single fUSI recording

  • FastICA on a single fUSI recordingFastICA on a single fUSI recording


    FastICA on a single fUSI recording

  • NMF on a single fUSI recordingNMF on a single fUSI recording


    NMF on a single fUSI recording

Functional Connectivity

Computing functional connectivity (FC) measures from fUSI data using brain region parcellations or data-driven approaches.

  • Atlas-based region correlation matrixAtlas-based region correlation matrix


    Atlas-based region correlation matrix

  • Atlas-based seed connectivity mapsAtlas-based seed connectivity maps


    Atlas-based seed connectivity maps

GLM

Fit voxel-wise General Linear Models to fUSI recordings to map stimulus-driven activation.

  • First-level GLM analysis of fUSI dataFirst-level GLM analysis of fUSI data


    First-level GLM analysis of fUSI data

  • Lagged first-level GLM analysis of fUSI data with a continuous regressorLagged first-level GLM analysis of fUSI data with a continuous regressor


    Lagged first-level GLM analysis of fUSI data with a continuous regressor