Thanks so much for your reply!!
But when i tried with this,is will shows the problem:
stc_all_show.save(‘test’, overwrite=True)
Traceback (most recent call last):
File “C:\Users\ccc.conda\envs\MNE_mri\lib\site-packages\IPython\core\interactiveshell.py”, line 3577, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File “”, line 1, in
stc_all_show.save(‘test’, overwrite=True)
AttributeError: ‘list’ object has no attribute ‘save’
Oh, I’m sorry, I didn’t realize it’s about an entire list of source estimates. I don’t think MNE has a built-in function for this yet. Is calculating the STC from an evoked not an option for you?
stc_all =
for f in range(0,480):
save_name = results_file+‘trial-’+str(f)
stc_all[f].save(save_name, overwrite=True)
My dataset is formed as 35subs*480 trials *1200time points *306channels and i would like to see the difference between first 240 trials and last 240 trials. What i am doing is to calculate the stc of each trials, and morph them to fsaverage, and then do the statistic analysis.
STC from an evoked is really an option. In this way, i can calculate first 240 trials and last 240 trials separately, but i cannot get the trial dimension at the end.