<div dir="ltr"><div>Hi Eelke, <br></div><div><br></div><div>thank you for your answer! <br></div><div>I think you understood pretty much right, thank you also for the link to the website. <br></div><div>The problem is, that I have data saved as .mat-files but already preprocessed with Fieldtrip. <br></div><div>Now I want to use this data to do my SSVEP analysis, but if I try to load the .mat-file, I get error messages. I also get the error message, that the functions of the example script in Fieldtrip just work for ft_datatype_raw, that "contains sensor level time domain data typically obtained after calling <a href="http://www.fieldtriptoolbox.org/reference/ft_definetrial">ft_definetrial</a> and <a href="http://www.fieldtriptoolbox.org/reference/ft_preprocessing">ft_preprocessing</a>." So it should work for my datastructure, but it doesn't. Maybe I make a bad mistake and should load the original vhdr-file and the mat-file together, I'm not sure, but in my comprehension all the data that I need should be in the preprocessed .mat-file. <br></div><div>Please correct me if I do wrong, I'm a beginner willing to not give up! <br><br></div><div>Thank you very much in advance, <br><br></div><div>Sarah<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Do., 30. Apr. 2020 um 13:52 Uhr schrieb Eelke Spaak <<a href="mailto:e.spaak@donders.ru.nl">e.spaak@donders.ru.nl</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Sarah,<br>
<br>
If I'm not mistaken, your question is essentially: I already have data<br>
in Matlab arrays, how can I make sure FieldTrip understands this? (So<br>
the question is independent of SSVEP or any specific analysis<br>
pipeline.) Have a look at<br>
<a href="http://www.fieldtriptoolbox.org/faq/how_are_the_various_data_structures_defined/" rel="noreferrer" target="_blank">http://www.fieldtriptoolbox.org/faq/how_are_the_various_data_structures_defined/</a><br>
and specifically ft_datatype_raw for pointers.<br>
<br>
Best,<br>
Eelke<br>
<br>
On Thu, 30 Apr 2020 at 12:05, Sarah Kirchler <<a href="mailto:sarah.kirchler@gmail.com" target="_blank">sarah.kirchler@gmail.com</a>> wrote:<br>
><br>
> Hi Fieldtrip!<br>
><br>
> I have a question About analyzing SSVEPs.<br>
> I don’t really know how to make a Connection from Fieldrtrip to my already preprocessed data. I have a Folder named „clean“, where I have saved the data rejected from artifacts.<br>
><br>
> You offer only an example script „How to analyze SSVEPs with simulated data“, but I have real data and don’t know how to read it in.<br>
><br>
> The function ft_read_data doesn’t support .mat-files, in which I saved my clean data.<br>
><br>
> How can I create a dataset out of my clean data? Or how can I read in the clean data with the .mat-endings?<br>
><br>
> Thanks for your answers!<br>
> And excuse my incorrect english.<br>
><br>
> Best,<br>
><br>
> Sarah Kirchler<br>
><br>
> _______________________________________________<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>
<br>
_______________________________________________<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>