Base.getindexMethod
getindex(c::CiftiStruct, s::Vector{BrainStructure})

Use a vector of BrainStructure s as indices into the data matrix of a CiftiStruct

Base.getindexMethod
getindex(c::CiftiStruct, s::BrainStructure)

Use BrainStructure s as indices into the data matrix of a CiftiStruct

Base.sizeMethod
size(c::CiftiStruct)

Get the dimensions of the data matrix component of a CiftiStruct

CIFTI.loadMethod
load(filename)

Read a CIFTI file. Returns a CiftiStruct, composed of the data matrix data and a dictionary of anatomical indices brainstructure for indexing into the data

CIFTI.saveMethod
save(dest, c; template)

Save c::CiftiStruct to dest::String by copying the CIFTI header content from template. template's dimensions and index mappings must match those of the input data.

Instead of a CiftiStruct, argument c may also be a Vector or Matrix.