[Eeglablist] Combining two data files

Stephen Politzer-Ahles politzerahless at gmail.com
Mon Oct 15 12:14:05 PDT 2012


Hi Habib,

Once you open the two datasets, you can use the Edit >> Append datasets
command from the GUI (or the pop_mergeset() command from the MATLAB command
line) to merge the dataset.

As for how to count events, there are a few ways to do it. If you just want
to know the overall number of events in the file, this is shown in the
"Events" field of the EEGLAB interface when you open a dataset. If you want
to know the number of a particular sort of event, you can get that
information from the EEG.event field (what I do is write a 'for' loop in
MATLAB that goes through each item in EEG.event and keeps track of how many
events of each type it finds), or you can epoch the dataset based on that
particular event type and then see how many events are left in the new
dataset. (There may be simpler ways to count events; I don't know of any
other ways, but someone else on the list might.)

Good luck,
Steve

On Mon, Oct 15, 2012 at 1:11 AM, Research Assistant
<ra_lums at hotmail.co.uk>wrote:

>  HI,
>
> I have 2  saved data files in .csv format. How can I join these two to
> form a single dataset in EEG lab.
> Also how can I count the number of events while performing the P300
> experiments for the target and non-target events.
>
>
> Thanks
>
> Habib Paracha
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>



-- 
Stephen Politzer-Ahles
University of Kansas
Linguistics Department
http://people.ku.edu/~sjpa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20121015/a944a6b4/attachment.html>


More information about the eeglablist mailing list