open-discussion
open-discussion > RE: Reproducibility analysis mICA
Mar 29, 2018 07:03 AM | Tawfik Moher Alsady
RE: Reproducibility analysis mICA
Hi Will,
First to your question, yes you have to run mica for all subfolders generated by split-half (number of mica commands = 2 x number of dimensionalities). One can use a bash script to schedule them all using fsl_sub if your fsl setup uses parallel processing. Or call mica one by one for each folder.
About ic_corr.r, I guess you are using python 3. A small change has to be made to the script to make it compatible with python 3:
Line 72: change the following
dim=range(int(minmax[0]),int(minmax[1])+1)
to
dim=list(range(int(minmax[0]),int(minmax[1])+1))
Change line 178 and 180:
xtics=range(0,len(dims))
else:
xtics=range(0,len(dims), int(math.ceil(len(dims)/15.0)))
to:
xtics=list(range(0,len(dims)))
else:
xtics=list(range(0,len(dims), int(math.ceil(len(dims)/15.0))))
I hope it works now. If it works I will post an updated version with those changes.
First to your question, yes you have to run mica for all subfolders generated by split-half (number of mica commands = 2 x number of dimensionalities). One can use a bash script to schedule them all using fsl_sub if your fsl setup uses parallel processing. Or call mica one by one for each folder.
About ic_corr.r, I guess you are using python 3. A small change has to be made to the script to make it compatible with python 3:
Line 72: change the following
dim=range(int(minmax[0]),int(minmax[1])+1)
to
dim=list(range(int(minmax[0]),int(minmax[1])+1))
Change line 178 and 180:
xtics=range(0,len(dims))
else:
xtics=range(0,len(dims), int(math.ceil(len(dims)/15.0)))
to:
xtics=list(range(0,len(dims)))
else:
xtics=list(range(0,len(dims), int(math.ceil(len(dims)/15.0))))
I hope it works now. If it works I will post an updated version with those changes.
Threaded View
Title | Author | Date |
---|---|---|
Will Khan | Mar 22, 2018 | |
Florian Beissner | Mar 22, 2018 | |
Will Khan | Mar 27, 2018 | |
Tawfik Moher Alsady | Mar 27, 2018 | |
Will Khan | Mar 29, 2018 | |
Will Khan | Mar 29, 2018 | |
Tawfik Moher Alsady | Mar 29, 2018 | |
Will Khan | Apr 4, 2018 | |
Tawfik Moher Alsady | Apr 9, 2018 | |
Will Khan | Apr 10, 2018 | |