Back to the main page.
Bug 322 - plexon nex with different sampling rate are incorrectly read
| Status | ASSIGNED |
| Reported | 2010-12-17 13:46:00 +0100 |
| Modified | 2016-09-13 14:59:13 +0200 |
| Product: | FieldTrip |
| Component: | fileio |
| Version: | unspecified |
| Hardware: | PC |
| Operating System: | Mac OS |
| Importance: | P1 major |
| Assigned to: | Robert Oostenveld |
| URL: | |
| Tags: | |
| Depends on: | |
| Blocks: | |
| See also: | http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=2093 |
Robert Oostenveld - 2010-12-17 13:46:21 +0100
>> hdr = ft_read_header('mi_av17_112_01-A_CH002.nex'); >> hdr hdr = nChans: 9 Fs: 1000 nSamples: 35893548 nTrials: 1 nSamplesPre: 0 label: {9x1 cell} FirstTimeStamp: 0 TimeStampPerSample: 40 orig: [1x1 struct] whereas the file contains a mix of 1kHz and 40kHz
Robert Oostenveld - 2010-12-17 13:47:44 +0100
the bug is at hdr.Fs = orig.varheader(adindx(1)).wfrequency; % take the sampling frequency from the first A/D channel