[FieldTrip] create grad struct from headloc channels

Arjen Stolk a.stolk8 at gmail.com
Tue Jul 30 05:54:31 CEST 2019

Hi Anne,

Perhaps others can chime in since I lost the details on how to do this. It
involves ft_headmovement and/or ft_average_sens, the latter of which you
can find in the utilities folder. Have a look at those functions and see if
you can figure it out from there in the meantime.


On Mon, Jul 29, 2019 at 7:35 PM Anne Urai <anne.urai at gmail.com> wrote:

> Hi FieldTrippers,
> My data have some sessions in which all trials are recorded in one CTF
> file, and others were participants took breaks in between blocks and there
> are several CTF files. For source reconstruction, I’d like to use each full
> session to have a similar number of trials per participant to estimate my
> common filter and apply a DICS beamformer.
> This means I’ll need to create a grad struct from my appended session
> files. As far as I understand, the grad struct for CTF is defined at the
> start of each recording session. In this case, we used online head
> localization, so it makes more sense to take the average gradiometer
> position from all trials (after epoching and artefact rejection) that
> remain in the data.
> Is there a way to compute a new grad struct from the headloc channels,
> after appending several recording files?
> Best,
>> Anne E. Urai, PhD
> Postdoctoral Fellow, Cold Spring Harbor Laboratory
> www.anneurai.net / @AnneEUrai
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190729/34ac2901/attachment-0002.html>

More information about the fieldtrip mailing list