`Base.getindex`

— Method`getindex(c::CiftiStruct, s::Vector{BrainStructure})`

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

`Base.getindex`

— Method`getindex(c::CiftiStruct, s::BrainStructure)`

Use `BrainStructure`

`s`

as indices into the data matrix of a `CiftiStruct`

`Base.size`

— Method`size(c::CiftiStruct)`

Get the dimensions of the data matrix component of a `CiftiStruct`

`CIFTI.load`

— Method`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.save`

— Method`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`

.