Back to the main page.
Bug 3428 - TimeStampPerSample or TimestampPerSecond in ft_spike_maketrials?
Status | NEW |
Reported | 2018-05-25 18:55:00 +0200 |
Modified | 2018-05-31 14:16:07 +0200 |
Product: | FieldTrip |
Component: | documentation |
Version: | unspecified |
Hardware: | PC |
Operating System: | Mac OS |
Importance: | P5 trivial |
Assigned to: | |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Stephen Whitmarsh - 2018-05-25 18:55:45 +0200
Hi, Trying to run ft_spike_maketrials, with self-imported data (from Spyking-Circus), I get the following error: Error using ft_spike_maketrials (line 126) cfg.hdr.TimeStampPerSample must be specified Now, in the function description no such field is mentioned, but TimeStampPerSecond is. The latter makes more sense to me. In fact, with a quick glance I do not see any more mention of a field TimeStampPerSample in the code. In fact, when dealing with samples, it is not clear why one would need to refer to timestamps at all, is already samplerate is given (another enforced cfg field). Cheers, Stephen