Skip to content

tractometry/afq2niivue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

afq2niivue

A Marimo notebook for visualizing white matter fiber bundles from diffusion MRI tractography using NiiVue.

Usage

VOLUME_PATH=brain.nii.gz TRX_PATH=tracts.trx marimo run viewer.py

Where:

  • VOLUME_PATH is the path to a T1-weighted anatomical image (.nii.gz)
  • TRX_PATH is the path to a TRX tractography file containing fiber bundles

Installation

pip install marimo

All other dependencies are installed automatically by marimo's sandbox.

About

This notebook reads a TRX tractography file and lets you interactively explore individual fiber bundles overlaid on a T1-weighted anatomical image. Select bundles using checkboxes to visualize one or more brain regions at a time.

Built with NiiVue by Chris Rorden and ipyniivue. Based on the NiiVue marimo notebooks.

About

A Python library that produces a niivue visualization from pyAFQ outputs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages