Print

Print


The bad channels would be retained in the average but they would be still marked as bad so they would be interpolated when exporting to images and not used for source reconstruction or DCM.

Vladimir

On 7 Nov 2014, at 10:57, Thomas Cope <[log in to unmask]> wrote:

> Yes, I did. 
> 
> I wondered if this was the culprit, and am re-running the analysis with it set to 0 to see if this helps (I'll let you know when it's done in 3 hours or so). I was worried that if I didn't remove them it would mean that the badchannels would be included in grand averages and in the image files from which I do my second level contrasts. Is this not the case? I would rather have robust analyses than visualisable data!
> 
> -----Original Message-----
> From: Vladimir Litvak [mailto:[log in to unmask]] 
> Sent: 07 November 2014 10:55
> To: Thomas Cope
> Cc: [log in to unmask]
> Subject: Re: [SPM] Unable to visualise MEEG data after robust averaging with badchannels marked
> 
> Dear Thomas,
> 
> Do you explicitly set 'Remove bad data to 'Yes'? I think if you keep it at the default ('No') this won't happen.
> 
> Vladimir
> 
> On 7 Nov 2014, at 10:47, Thomas Cope <[log in to unmask]> wrote:
> 
>> Dear experts,
>> 
>> I am having difficulties with visualising my data after robust averaging in SPM12. If I have any badchannels marked the robust averaging routine seems to convert all samples for that channel to NaN. This seems to confuse the display routines, and I cannot then visualise the data (I just get blank screens for all modalities, i.e. even if the only NaNs are in the EEG, I cannot see the MEG either). For subjects without bad channels, I can visualise the data as normal. The rest of the data are still there, and I can plot and analyse it outside of SPM, but this is obviously not ideal. 
>> 
>> What am I doing incorrectly?
>> 
>> Best wishes,
>> 
>> Thomas