surface roi_dist_gifti

Usage

Run using mc_script surface roi_dist_gifti after installation or using ~ndcn0236/bin/mc_script surface roi_dist_gifti on jalapeno.

Import in python using from mcutils.scripts.surface import roi_dist_gifti

Documentation

For every vertex computes the distance to the closest point in a ROI

Functions

run(surface, roi)

Finds the shortest route to the ROI for every vertex

sparse_min(sparse_matrix[, axis])

Computes the minium of a sparse matrix ignoring the zero elements

CLI interface

add_to_parser([parser])

Creates the parser of the command line arguments

run_from_args(args)

Runs the script based on a Namespace containing the command line arguments