Welcome to our user forum (read only mode).
Would you like to react to this message? Create an account in a few clicks or log in to continue.

timestamp parameter from "ns_GetSegmentData"

2 posters

Go down

timestamp parameter from "ns_GetSegmentData" Empty timestamp parameter from "ns_GetSegmentData"

Post  giladdalig Mon May 26, 2014 11:11 am

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


giladdalig

Posts : 1
Join date : 2014-05-26

Back to top Go down

timestamp parameter from "ns_GetSegmentData" Empty Re: timestamp parameter from "ns_GetSegmentData"

Post  Jens Tue May 27, 2014 10:45 am

The timestamp is the point when the trigger condition occurs. So it depends on your pre and post window.

Jens

Jens

Posts : 55
Join date : 2009-03-06
Location : Multi Channel Systems

http://www.multichannelsystems.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum