SampleIndexRange: Extract a range of sample indexes

Description Usage Arguments Value

Description

Sample indices take precedence over times whereas the maximum number of samples take precedence over the sample rate. When boudaries are omitted (NA) then the boundaries of the signal are used. If max.samples is NA all the sample indices in the range are returned.

Usage

1
2
SampleIndexRange(signal, first.sample.index = NA, last.sample.index = NA,
  from.time = NA, to.time = NA, max.samples = NA, sample.rate = NA)

Arguments

signal

Source signal

first.sample.index

First sample index.

last.sample.index

Last sample index.

from.time

Time of the first sample.

to.time

Time of the last sample.

max.samples

Maximum number of returned sample indices.

sample.rate

New sample rate.

Value

A vector containing at most max.samples sample indices from the given range.


cyrus-and/iq documentation built on May 14, 2019, 1:40 p.m.