Channel
- class RigolWFM.channel.Channel(w: Any, channel_number: int, scope: str, selected: str = '1234')[source]
Bases:
objectBase class for a single channel.
Methods Summary
agilent(w, channel_number)Interpret normalized waveform data for an Agilent/Keysight .bin file.
bin5000(w, channel_number)Interpret normalized waveform data for Rigol MSO5000 .bin files.
bin7000_8000(w, channel_number)Interpret normalized waveform data for Rigol 7000/8000 .bin files.
calc_times_and_volts([sample_aligned, ...])Calculate the times and voltages for this channel.
dho1000(w, channel_number)Interpret normalized waveform data for the Rigol DHO800/DHO1000 series.
ds1000b(w, channel_number)Interpret waveform data for 1000B series scopes.
ds1000c(w, channel_number)Interpret waveform data for 1000CD series scopes.
ds1000d(w, channel_number)Interpret waveform data for 1000D series scopes (uses wfm1000e parser).
ds1000e(w, channel_number)Interpret waveform data for 1000D and 1000E series scopes.
ds1000z(w, channel_number)Interpret waveform for the Rigol DS1000Z series.
ds2000(w, channel_number)Interpret waveform for the Rigol DS2000 series.
ds4000(w, channel_number)Interpret waveform for the Rigol DS4000 series.
ds6000(w, channel_number)Interpret waveform for the Rigol DS6000 series.
lecroy(w, channel_number)Interpret normalized waveform data for a LeCroy .trc file.
rohde_schwarz(w, channel_number)Interpret normalized waveform data for a Rohde & Schwarz RTP .bin file.
siglent(w, channel_number)Interpret normalized waveform data for a Siglent .bin file.
tek(w, channel_number)Interpret normalized waveform data for a Tektronix .wfm file.
trim(duration)Trim the data arrays to a window of duration around time_offset.
trim_to(start, end)Keep only the samples between start and end, inclusive.
trim_window(duration)Return the time window of duration this channel would keep.
yokogawa(w, channel_number)Interpret normalized waveform data for a Yokogawa .wfm file.
Methods Documentation
- agilent(w: Any, channel_number: int) None[source]
Interpret normalized waveform data for an Agilent/Keysight .bin file.
- bin5000(w: Any, channel_number: int) None[source]
Interpret normalized waveform data for Rigol MSO5000 .bin files.
- bin7000_8000(w: Any, channel_number: int) None[source]
Interpret normalized waveform data for Rigol 7000/8000 .bin files.
- calc_times_and_volts(sample_aligned: bool = False, memory_depth_points: int | None = None, midpoint: float = 127.0) None[source]
Calculate the times and voltages for this channel.
- dho1000(w: Any, channel_number: int) None[source]
Interpret normalized waveform data for the Rigol DHO800/DHO1000 series.
- ds1000c(w: Any, channel_number: int) None[source]
Interpret waveform data for 1000CD series scopes.
- ds1000d(w: Any, channel_number: int) None[source]
Interpret waveform data for 1000D series scopes (uses wfm1000e parser).
DS1000D firmware stores scale_measured already probe-corrected, so the probe_value factor that wfm1000e bakes into volt_scale must be divided out.
- ds1000e(w: Any, channel_number: int) None[source]
Interpret waveform data for 1000D and 1000E series scopes.
- lecroy(w: Any, channel_number: int) None[source]
Interpret normalized waveform data for a LeCroy .trc file.
- rohde_schwarz(w: Any, channel_number: int) None[source]
Interpret normalized waveform data for a Rohde & Schwarz RTP .bin file.
- siglent(w: Any, channel_number: int) None[source]
Interpret normalized waveform data for a Siglent .bin file.
- tek(w: Any, channel_number: int) None[source]
Interpret normalized waveform data for a Tektronix .wfm file.
- trim(duration: float) None[source]
Trim the data arrays to a window of duration around time_offset.
- Parameters:
duration – length of the window to keep, in seconds.
- trim_to(start: float, end: float) None[source]
Keep only the samples between start and end, inclusive.
- Parameters:
start – first time to keep, in seconds.
end – last time to keep, in seconds.
- trim_window(duration: float) tuple[float, float] | None[source]
Return the time window of duration this channel would keep.
The window is centered on time_offset, the point the scope was displaying, and slid back inside the record if that would run off either end. A duration longer than the record keeps everything.
- Parameters:
duration – length of the window in seconds.
- Returns:
The (start, end) times, or None when there is nothing to trim.