Downsamples a vector of numeric values at three time resolutions: 1 seconds, ws3 seconds, and ws2 second. Function is not intended for direct interaction by package end user
g.downsample(sig, fs, ws3, ws2)
Vector of numeric values
Sample frequency
epoch size, e.g 5 seconds
epoch size, e.g 90 seconds
Vincent T van Hees <vincentvanhees@gmail.com>
List with three object: var1, var2, and var3 corresponding to downsample time series at 1 seconds, ws2 seconds, and ws3 seconds resoluton, respectively