timestamp parameter from "ns_GetSegmentData"
2 posters
Page 1 of 1
timestamp parameter from "ns_GetSegmentData"
Hi,
I recorded my data in "spikes".
I used 10kHz frequency, so every recorded spike contains 1000 samples in a 100ms window.
I can get my recorded spikes using:
[nsresult,timestamp,data,samplecount,unitid] = ns_GetSegmentData(hFile, EntityID, Index);
However, I don't know when this spike occurred.
Is the "timestamp" parameter refer to the beginning of the data? (i.e., sample #1 out of 1000).
Or maybe, "timestamp" refers to the middle of the data? (i.e., sample #500 or sample #501 out of 1000).
And if "timestamp" indeed refers to the middle of the data, is it the time of sample #500 or #501?
Thanks!
Gilad
I recorded my data in "spikes".
I used 10kHz frequency, so every recorded spike contains 1000 samples in a 100ms window.
I can get my recorded spikes using:
[nsresult,timestamp,data,samplecount,unitid] = ns_GetSegmentData(hFile, EntityID, Index);
However, I don't know when this spike occurred.
Is the "timestamp" parameter refer to the beginning of the data? (i.e., sample #1 out of 1000).
Or maybe, "timestamp" refers to the middle of the data? (i.e., sample #500 or sample #501 out of 1000).
And if "timestamp" indeed refers to the middle of the data, is it the time of sample #500 or #501?
Thanks!
Gilad
giladdalig- Posts : 1
Join date : 2014-05-26
Re: timestamp parameter from "ns_GetSegmentData"
The timestamp is the point when the trigger condition occurs. So it depends on your pre and post window.
Jens
Jens
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|