Base.getindex
— Methodgetindex(c::CiftiStruct, s::Vector{BrainStructure})
Use a vector of BrainStructure s as indices into the data matrix of a CiftiStruct
Base.getindex
— Methodgetindex(c::CiftiStruct, s::BrainStructure)
Use BrainStructure
s
as indices into the data matrix of a CiftiStruct
Base.size
— Methodsize(c::CiftiStruct)
Get the dimensions of the data matrix component of a CiftiStruct
CIFTI.load
— Methodload(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
— Methodsave(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
.