Back to the main page.

Bug 76 - unable to read neuralynx nev

Status CLOSED WORKSFORME
Reported 2010-05-07 11:14:00 +0200
Modified 2011-01-05 12:00:59 +0100
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: PC
Operating System: Linux
Importance: P5 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Tim Engelkes - 2010-05-07 11:14:47 +0200

My folder 'dataset' contains Events.Nev file and *.Ncs files. Even following tutuorial guidelines I can not get this read. Although read_header should be able to read e.g. 'nev' in general I see no reference to this in the code. Here is my error hdr=ft_read_header('dataset'); ??? Error using ==> plus Invalid type of input arguments (should be uint64) Error in ==> read_neuralynx_ds at 133 LastTimeStamp(i) = LastTimeStamp(i) + uint64((recordsize-1)*TimeStampPerSample(i)); % this should be in uint64 precision Error in ==> ft_read_header at 850 hdr = read_neuralynx_ds(filename);


Robert Oostenveld - 2010-12-15 11:56:36 +0100

the following works. >> ls Arizona/datastev_FT/ CSC1.Ncs CSC11.Ncs CSC15.Ncs CSC3.Ncs CSC5.Ncs CSC7.Ncs CSC9.Ncs E2.Ncs E4.Ncs R1.Ncs CSC10.Ncs CSC12.Ncs CSC2.Ncs CSC4.Ncs CSC6.Ncs CSC8.Ncs E1.Ncs E3.Ncs Events.Nev >> ft_read_header('Arizona/datastev_FT') ans = nChans: 18 label: {'CSC1' 'CSC10' 'CSC11' 'CSC12' 'CSC15' 'CSC2' 'CSC3' 'CSC4' 'CSC5' 'CSC6' 'CSC7' 'CSC8' 'CSC9' 'CSC17' 'CSC18' 'CSC19' 'CSC20' 'CSC13'} filename: {1x18 cell} nTrials: 1 Fs: 1603 nSamplesPre: 0 nSamples: 14602752 FirstTimeStamp: 3109837516 LastTimeStamp: 11754583751 TimeStampPerSample: 591.9944 orig: [18x1 struct] >> ft_read_event('Arizona/datastev_FT') ans = 1x3907 struct array with fields: type value sample timestamp duration offset number >> dat = ft_read_data('Arizona/datastev_FT', 'begsample', 1, 'endsample', 1603*10);


Robert Oostenveld - 2011-01-05 11:56:50 +0100

selected a long list of resolved bugs from roboos and changed the status into "RESOLVED"


Robert Oostenveld - 2011-01-05 12:00:59 +0100

selected all old bugs from roboos with status RESOLVED and changed it into CLOSED