Skip to main content
100%

Gist b2dba9d3a950202a27aaf70eb500b55b

✓ Published0🌍 Public
Aakeshavan
Last edited Nov 2, 2016
Created on Nov 2, 2016

This example visualizes the relationships between multiple MRI scan sessions by computing and plotting the affine and warp transformations needed to align them to a common template. The notebook uses Python with pandas, numpy, and matplotlib, along with custom functions built on nipype’s file management utilities, to load alignment status JSONs and construct transformation dictionaries. It shows how each session’s T1-weighted image can be mapped to any other session through a chain of affine and warp operations, with the resulting paths displayed as a network of connections. The rendering relies on matplotlib’s inline plotting to present the computed transformation graph.

AI-generated description

Similar vizzes