RigolWFM.channel Module
Class structure and methods for an oscilloscope channel.
The idea is to collect all the relevant information from all the Rigol scope waveforms into a single structure that can be handled in a uniform and consistent manner.
Specifically this lets one do:
channel.times : numpy array of signal times
channel.volts : numpy array of signal voltages
or the stringification method to describe a channel:
print(channel)
Functions
|
Scale and units for a number with proper prefix. |
|
Format number with proper prefix. |
Classes
|
Base class for a single channel. |
|
Create a collection of name/value pairs. |
|
Enumerated units for scopes without them. |
RigolWFM.wfm Module
Extract signals or description from Rigol 1000E Oscilloscope waveform file.
Example
>>> import RigolWFM.wfm as rigol
>>> waveform = rigol.Wfm.from_file("file_name.wfm", 'E')
>>> description = waveform.describe()
>>> print(description)
Functions
List all the oscilloscope types. |
Classes
The channel is not in the .wfm file. |
|
Cannot use this URL. |
|
Generic Parse Error. |
|
Generic Read Error. |
|
Not one of the listed Rigol oscilloscopes. |
|
|
Class with parsed data from a .wfm file. |
Something went wrong while writing the .wave file. |
RigolWFM.wfmconvert Module
Command line utility to convert Rigol .wfm files.
Examples:
prompt> wfmconvert E info DS1102E-A.wfm prompt> wfmconvert E csv DS1102E-A.wfm prompt> wfmconvert E wav DS1102E-A.wfm
Functions
|
Create a file with comma separated values. |
|
Create a string that describes content of .wfm file. |
|
Parse console command line arguments. |
|
Create a Sigrok (.sr) file. |
|
Create a file with comma separated values (full volts). |
|
Create an audible .wav file for use in LTspice. |