block_to_seconds: Return a block structure where any timestamps have been...

Description Usage Arguments Value See Also

Description

Return a block structure where any timestamps have been converted to seconds with respect to the start time of the recording.

Usage

1
2
block_to_seconds(recording, block = NULL,
  timeformat = "%Y%m%dT%H%M%S")

Arguments

recording

A recording.

block

A block structure. If not given, it is read from the field recording$conf$blocks.

timeformat

The time format to use. The default is "%Y%m%dT%H%M%S".

Value

The block structure with the timestamps replaced by seconds from the beginning of the recording.

See Also

Other recording: add_block, add_segment_timestamp, collect_results_collection, collect_results, create_block_simple, create_block_structure, cut_recording_s, cut_recordings_s, cut_recordings, cut_recording, find_recording_overlap, load_recording, new_recording, read.block.event.data, read.config.excel, read.config.sqlite, read.config, read.dbtable.excel, read.dbtable.sqlite, recording_get_zerotime, recording_set_blocks, recording_set_events, recording_set_ibi, recording_set_zerotime, save_recording


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