vallenae.io.TraDatabase.read_continuous_wave

TraDatabase.read_continuous_wave(channel, *, time_axis=True, show_progress=True, **kwargs)[source]

Read transient signal of specified channel to a single, continuous array.

Time gaps are filled with 0’s.

Parameters
  • channel (int) – Channel number to be read

  • time_axis (bool) – Create the correspondig time axis. Default: True

  • show_progress (bool) – Show progress bar. Default: True

  • **kwargs – Additional arguments passed to iread

Return type

Union[Tuple[ndarray, ndarray], Tuple[ndarray, int]]

Returns

If time_axis is True

  • Array with transient signal

  • Time axis

If time_axis is False

  • Array with transient signal

  • Samplerate