RSKreadburstdata.m

Arguments

Input

 -Required- 

  • RSK 

 -Optional- 

  • t1 : start time for range of burst data to be read.
  • t2 : end time for range of burst data to be read.

Output

  • RSK

This function reads all or a subset (determined by t1 and t2) of the burst data and writes it to a field in the RSK structure called burstData

When a dataset has burstData, the raw high frequency values reside in the burstData field. The data field is composed of one sample for each burst with time stamp set to be the first value of each burst period; the sample is the average of the values during the corresponding burst. When visualizing both data and burstdata on the the plot, it looks like:

Example:

rsk = RSKreadburstdata(rsk)