sda.io.read_wfm#
Attributes#
Exceptions#
Error for unexpected things when reading wfm files. |
Classes#
Module Contents#
- exception sda.io.read_wfm.ReadWfmError#
Bases:
ExceptionError for unexpected things when reading wfm files.
- class sda.io.read_wfm.ReadWfm(wfm_file)#
- wfm_file#
- decode_header(header_bytes)#
Return a dict of wfm metadata.
- get_time_vector(tstart, tfrac, tscale, samples)#
Return time vector from tstart, tfrac, tscale and samples.
- get_voltage_time()#
Return voltage and time arrays.
- Returns:
Voltage and time arrays.
- Return type:
tuple[np.ndarray,np.ndarray]
- sda.io.read_wfm.data_folder#