ucdavis / erplab

ERPLAB Toolbox is a free, open-source Matlab package for analyzing ERP data. It is tightly integrated with EEGLAB Toolbox, extending EEGLAB’s capabilities to provide robust, industrial-strength tools for ERP processing, visualization, and analysis. A graphical user interface makes it easy for beginners to learn, and Matlab scripting provides enormous power for intermediate and advanced users.
http://erpinfo.org/erplab
271 stars 73 forks source link

Question about BinLister #189

Open thakralp opened 8 months ago

thakralp commented 8 months ago

I had a question regarding binning my data. I have 255 events, that each have a 1 of 3 event codes: 2, 3, or 4

I know based on the the response data which events of the 255 correspond to which of the 8 bins I want to segment my data into (e.g., item #'s 1, 13, 100, and 202, fall into bin 1). The issue I am having that those items have overlapping ecodes.

Is there a way to use the item# as a way to create a BDF/BinLister file that segments my bins? I have only found BDF templates that use ecodes to assign bins

Thanks!

davidg622 commented 8 months ago

Hello,

There is unfortunately no way to directly create a Binlister file that uses item#. You could, however, try to manually add/overwrite eventcodes by creating and exporting the eventlist, editing the .txt file, and importing it back into your data. This would be time consuming, but it's the only way I think you could accomplish your goal.

Hope this helps,

David

Allexxann commented 5 months ago

The response data isn't present in your recording itself, correct?

stevenjluck commented 5 months ago

Our example data include event codes for the responses.

Steve

From: Allexxann @.> Date: Friday, June 14, 2024 at 8:37 AM To: ucdavis/erplab @.> Cc: Subscribed @.***> Subject: Re: [ucdavis/erplab] Question about BinLister (Issue #189)

The response data isn't present in your recording itself, correct?

— Reply to this email directly, view it on GitHubhttps://github.com/ucdavis/erplab/issues/189#issuecomment-2168289540, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC67QF33NZ4D2LXR6VTNWTDZHME5HAVCNFSM6AAAAABJKSQ7UKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRYGI4DSNJUGA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Allexxann commented 3 months ago

You haven't attached the example data, so I can't have a look, but if you're using the response data to segment the item #'s, why not just use it in the BDF file?