extract_segment_s: Extract a segment of a signal corresponding to the given...

Description Usage Arguments Value See Also

Description

Extract a segment of a signal corresponding to the given times t0 and t1, given as seconds from the start of the recording.

Usage

1
extract_segment_s(recording, t0, t1, signal = NULL)

Arguments

recording

A recording structure.

t0

Start time (in seconds) or a two-element list giving the start and stop time.

t1

Stop time. Optional, default is NULL, in which case ind1 must a two-element list.

signal

A signal name found in the recording. Optional, default is NULL.

Value

A named list with the fields "data" and "t" from signal corresponding to the given times.

See Also

Other utilities: defactor, ensure_path, extract_segment_block, extract_segment_timestamp, extract_segment, generate_result_row, generate_segments_from_block, generate_segments, get_file_extension, get_filename_parts, hr_from_ibi, ibi_from_ecg, integrate_power, num_to_timestamp, replicate_df_row, seconds_to_indices, str_to_timestamp, timeintervals_to_seconds, timestamp_to_seconds, timestamp_to_str


bwrc/colibri documentation built on May 13, 2019, 9:10 a.m.