Import in python using from mcutils.scripts.plot.scatter_dscalar import read_dscalar
mcutils.scripts.plot.scatter_dscalar.
read_dscalar
Reads a row from a CIFTI dscalar file
filename – CIFTI filename
scalar_name – name of the row (or integer)
1D array and the brainmodel axis