uwacan.recordings.Recording#

class Recording(sensor=None)[source]#

Bases: object

Base class for recordings.

This class defines the interface for what a recording needs to implement for the rest of the package to use it.

Methods

subwindow([time, start, stop, center, ...])

Select a subset of the recording.

time_data()

Read stored time data.

Inherited methods

Attributes

num_channels

The number of channel in the recording, and the read data.

samplerate

The samplerate of the recording, in Hz.

time_window

A TimeWindow that covers the recording.