_scripts surface roi_dist_giftiΒΆ
Usage
Run using mc_script _scripts surface roi_dist_gifti after installation or using ~ndcn0236/bin/mc_script _scripts surface roi_dist_gifti on jalapeno.
Import in python using from mcot.core._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 |