vallenae.io.TraDatabase.read_continuous_wave¶
-
TraDatabase.
read_continuous_wave
(channel, time_start=None, time_stop=None, *, time_axis=True, show_progress=True)[source]¶ Read transient signal of specified channel to a single, continuous array.
The signal is exactly cropped to the given time range. Time gaps are filled with 0’s.
- Parameters
channel (
int
) – Channel number to readtime_start (
Optional
[float
]) – Start reading at relative time (in seconds). Start at beginning if Nonetime_stop (
Optional
[float
]) – Stop reading at relative time (in seconds). Read until end if Nonetime_axis (
bool
) – Create the correspondig time axis. Default: Trueshow_progress (
bool
) – Show progress bar. Default: True
- Return type
- Returns
If time_axis is True
Array with transient signal
Time axis
If time_axis is False
Array with transient signal
Samplerate