_scripts cifti correlateΒΆ

Usage

Run using mc_script _scripts cifti correlate after installation or using ~ndcn0236/bin/mc_script _scripts cifti correlate on jalapeno.

Import in python using from mcot.core._scripts.cifti import correlate

Documentation

Correlates two CIFTI files

Functions

correlate(dconn1, dconn2[, select_features]) Correlates two memory mapped arrays
correlate_arr(arr1, arr2[, collapse]) Computes the Pearson r correlation for two arrays
run(dconn1, dconn2, split_greyordinates) Computes the correlation between dense connectomes

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

Classes

FakeDConn(dtseries) Pretends to be a nibabel image of the dconn file
FakeDConnDataObject(dtseries) Pretends to be a nibabel dataobject of a dconn file