You could try using my EP Toolkit. It implements a comprehensive artifact correction routine, including bad channel interpolation.
https://sourceforge.net/projects/erppcatoolkit/
Cheers!
Joe
On Sep 12, 2012, at 3:07 PM, Vladimir Litvak <[log in to unmask]> wrote:
> Dear Robin,
>
> There is no such functionality in SPM for the simple reason that it is not necessary for any of the standard SPM analyses. If you need it you'd have to implement it yourself. There might be something in Fieldtrip that could be helpful but I'm not familiar with it.
>
> Best,
>
> Vladimir
>
>
>
> On 12 Sep 2012, at 20:01, Robin Weiss <[log in to unmask]> wrote:
>
>> Martin,
>>
>> Thanks for the info. I'm not entirely sure converting to an image is what
>> I really want to be doing. I am using SPM's EEG processing capabilities
>> as the pre-processor for a custom module I have written to perform other
>> types of EEG analysis. What I need to have SPM produce is a file
>> containing the ERP (averaged data) waveforms where there are no "bad
>> channels" (either because there were in fact no bad channels, or bad
>> channels have been re-created with interpolated data from neighboring
>> electrodes). Is this possible?
>>
>> Thanks,
>> Robin
>>
>> --
>> Robin M. Weiss
>> Research Programmer
>> Research Computing Center
>> The University of Chicago
>> 6030 S. Ellis Ave., Suite 289C
>> Chicago, IL 60637
>> [log in to unmask] <mailto:[log in to unmask]>
>> 773.702.9030
>>
>>
>>
>>
>>
>>
>> On 9/12/12 12:19 PM, "Martin Dietz" <[log in to unmask]> wrote:
>>
>>> Dear Robin,
>>>
>>> Interpolation of bad channels is possible when converting channels to
>>> nifti images. These images can then be displayed or entered into a
>>> standard general linear model using the 'Second-level' option.
>>>
>>> Martin
>>>
>>> On 12 Sep 2012, at 18:37, "Robin Weiss"
>>> <[log in to unmask]<mailto:[log in to unmask]>> wrote:
>>>
>>> Hello All,
>>>
>>> I found a post in this mailing list from late 2010 that said there is no
>>> functionality in SPM for interpolating bad channels in EEG signal data.
>>> Is this still the case? I do not want to do imaging or anything fancy.
>>> I just need to replace the data on bad channels with data generated by
>>> interpolating neighboring electrodes. Is this possible?
>>>
>>> Thanks,
>>> Robin
>>>
>>> --
>>> Robin M. Weiss
>>> Research Programmer
>>> Research Computing Center
>>> The University of Chicago
>>> 6030 S. Ellis Ave., Suite 289C
>>> Chicago, IL 60637
>>> [log in to unmask]<mailto:[log in to unmask]>
>>> 773.702.9030
--------------------------------------------------------------------------------
Joseph Dien,
Senior Research Scientist
University of Maryland
E-mail: [log in to unmask]
Phone: 301-226-8848
Fax: 301-226-8811
http://joedien.com//
|