<div dir="ltr">Hi Anne,<div><br></div><div>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.</div><div><br></div><div>Best,</div><div>Arjen</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 29, 2019 at 7:35 PM Anne Urai <<a href="mailto:anne.urai@gmail.com">anne.urai@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div>
<div name="messageBodySection">
<div dir="auto">Hi FieldTrippers,
<div dir="auto"><br></div>
<div dir="auto">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.</div>
<div dir="auto"><br></div>
<div dir="auto">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.</div>
<div dir="auto"><br></div>
<div dir="auto">Is there a way to compute a new grad struct from the headloc channels, after appending several recording files?</div>
</div>
</div>
<div name="messageSignatureSection"><br>
<div class="gmail-m_7532355283350349247matchFont">
<p style="margin:0px;font-stretch:normal;line-height:normal">Best,<br>
<br>
—<br>
Anne E. Urai, PhD<br>
Postdoctoral Fellow, Cold Spring Harbor Laboratory<br>
<a href="http://www.anneurai.net" target="_blank">www.anneurai.net</a> / @AnneEUrai<br></p>
</div>
</div>
</div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div>