read_ascii

Import in python using from mcot.core._scripts.cifti.ptx2dconn import read_ascii

mcot.core._scripts.cifti.ptx2dconn.read_ascii(filename, assumed_hemi=None)[source]

Reads a surface stores as an ASCII file

Parameters:
  • filename – ASCII file to read
  • assumed_hemi – L or R defining the assumed hemisphere (default: guess from filename)
Returns:

list of filenames in the ASCII file (or ASCII filename itself)