This function performs a spatial ICA
ICAspat(X,n.comp,alg.typ="parallel",centering=TRUE,hp.filter=TRUE)
A list containing
estimated mixing matrix of size tm x n.comp
estimated source matrix of size n.comp x vm
a matrix of size tm x vm which contains the functionnal images
number of maximally independent components to extract
if 'alg.typ == "parallel"' the components are extracted simultaneously (the default). if 'alg.typ == "deflation"' the components are extracted one at a time.
Logical. Should we center the data first. Centering will be performed by firstly removing the column mean.
Logical. Should we perform high-pass filtering on the data
ICAtemp