usage: AimsCiftiSubMatrix.py [-h] [-i CIFTI] [--gyri GYRI] [--gyrus GYRUS]
                             [-o OUTPUT]

Extract a submatrix from a CIFTI file for one gyrus or several gyri. The
extracted submatrix is in the shape currently expected by the Constellation
toolbox and Anatomist viewers.

options:
  -h, --help            show this help message and exit
  -i CIFTI, --cifti CIFTI
                        input CIFTI file
  --gyri GYRI           input gyri textures, typically FreeSurfer gyri.
                        Several may be specified (left, right)
  --gyrus GYRUS         gyrus to extract. Several may be specified. May be a
                        name or a number. If a name is used, the label mapping
                        is expected in the gyri textures header as Gifti
                        'GIFTI_labels_table' attribute.
  -o OUTPUT, --output OUTPUT
                        output gyrus matrix
