<html><body><p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hmmm. I'm really sorry, I don't quite know the specific terms for data analysis. To get some context, I'm part of the tech team in our lab : I'm not the one analyzing data, but I provide tools to others to do so (they're not devs, and some are not even scientists per se - they study cognition, but more at a functional level).<br><br>SO. From what I've understood, they would like to show a corellation between the performance of a precise action and haemodynamic changes. As of today, they use the Homer2/3 libraries along with MATLAB, but we would like to move on to open source projects.</div><div><br data-mce-bogus="1"></div><div>They used a NIRSport to get the relevant raw data, which I can process using the fNIRS library, but only one at a time. What I would like to get, is the ability to :<br data-mce-bogus="1"></div><div>1. convert the data from each performance of the experiment into an Epoch<br data-mce-bogus="1"></div><div>2. squash the results into one single usable object<br data-mce-bogus="1"></div><div>3. process this object, if needed<br data-mce-bogus="1"></div><div>4. get figures with the average haemodynamic response of the group<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Now I could obviously create an Epoch list after processing each set, but then comes the question of *averaging* the results. I tried to use the epoch.add_channels method to have one Epoch object, but then the other methods (such as epoch.plot_image) break because channels are duplicated.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Hope it is clearer,<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>David<br data-mce-bogus="1"></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Alexandre Gramfort" &lt;alexandre.gramfort@inria.fr&gt;<br><b>À: </b>"mne_mailing_list" &lt;mne_analysis@nmr.mgh.harvard.edu&gt;<br><b>Envoyé: </b>Mercredi 24 Juin 2020 11:41:41<br><b>Objet: </b>Re: [Mne_analysis] [fNIRS] Group analysis<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"> External Email - Use Caution<br>&nbsp;<br>&nbsp;hi David,<br>&nbsp;<br>&nbsp;what you mean by group analysis? can you be more specific?<br>&nbsp;GLM style analysis?<br>&nbsp;<br>&nbsp;Alex<br>&nbsp;<br>&nbsp;On Wed, Jun 24, 2020 at 10:42 AM David JULIEN &lt;david.julien@ifsttar.fr&gt; wrote:<br><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><br>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; External Email - Use Caution<br><br>&nbsp;Hello ladies and gentlemen,<br><br>&nbsp;I already checked for the matter in the mailing list archive and searched<br>&nbsp;through the code, but couldn't find what I was hoping for.<br>&nbsp;Is there a suite of tools/library to perform group analysis with Epoch/Raw<br>&nbsp;instances?<br><br>&nbsp;Let me clarify. I can already perform data analysis/conversion for one dataset<br>&nbsp;concerning one performance of an experiment. I would like to either directly<br>&nbsp;perform such processing for a group of datasets, or use the converted data<br>&nbsp;(i.e. the Epochs) of several datasets to obtain one single figure of<br>&nbsp;haemodynamic response. I encountered several difficulties to analyze Epochs<br>&nbsp;from several since the channels would be "duplicated" as they exist for the<br>&nbsp;first and the second Epochs sets, leading to obvious errors.<br><br>&nbsp;Sorry if I missed the thread where it has been discussed, and thanks in advance,<br><br>&nbsp;David<br>&nbsp;_______________________________________________<br>&nbsp;Mne_analysis mailing list<br>&nbsp;Mne_analysis@nmr.mgh.harvard.edu<br>&nbsp;https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</blockquote><br>&nbsp;<br>&nbsp;_______________________________________________<br>&nbsp;Mne_analysis mailing list<br>&nbsp;Mne_analysis@nmr.mgh.harvard.edu<br>&nbsp;https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis<br><br></blockquote></div></div></body></html>