Skip to main content
Skip table of contents

RSKcentrebursttimestamp.m

Arguments

Input

-Required- 

  • RSK

Output

  • RSK


For wave or BPR loggers, Ruskin stores the raw high-frequency values in the burstData field. The data field is composed of one sample for each burst with timestamp set to be the first value of each burst period; the sample is the average of the values during the corresponding burst. For users' convenience, this function modifies the timestamp from the beginning of each burst to the middle of it.


In the figure above, the blue line is the values in the burstdata field and the red dots are the values in the data field (i.e. average of each burst period). Top panel shows the time stamp at beginning of burst, while bottom panel shows time stamp at mid-point of burst after application of the function.


Example:

CODE
rsk = RSKcentrebursttimestamp(rsk)

The function examines if the rsk file contains burstData field, if not, it will not proceed.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.