Back to the main page.

Bug 2274 - ft_read_event for neuralynx Events.nev file

Status NEW
Reported 2013-09-07 16:09:00 +0200
Modified 2013-09-07 16:10:38 +0200
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 normal
Assigned to:
URL:
Tags:
Depends on:
Blocks:
See also:

Stephanie Westendorff - 2013-09-07 16:09:40 +0200

On 26 Aug 2013, at 8:05, Stephanie Westendorff wrote: Hello Robert, I'm using the fieldtrip ft_read_event function to read in the Events.nev files our (Thilo's really) Neuralynx system generates. However, we are using two different ports for our Events and I would need not only the information about the value, but also about the port back from the function. I made changes to the function, which would do this, but maybe that can be added to the fieldtrip functions, such that I would not need to make sure to always use the changed version. I send you my changes as suggestion. I don't know whether you might want to do it in a nicer way. I added two new lines after line 1319, one of them containing a new function. And I made changes in the original line 1325. Best, Stephanie P.S. I don't have the newest version of fieldtrip, so may be that functionality is already added somewhere, but I checked the logfile for that and I didn't see it there.


Stephanie Westendorff - 2013-09-07 16:10:19 +0200

Created attachment 511 getPort


Stephanie Westendorff - 2013-09-07 16:10:38 +0200

Created attachment 512 ft_read_event