Home | Trees | Indices | Help |
---|
|
object --+ | GPIBInst --+ | HP_3582A
HP 3582A Spectrum Analyzer Object.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Check the device is open. Return True if it is. |
Set which channels to use. c may be: 'a', 'cha', 'b', 'chb', 'ch1', 'ch2', 'both', 'chboth' |
Set the coupling mode for channel c to mode m. c may be: 'a', 'cha', 'b', 'chb', 'ch1', 'ch2', 'both', 'chboth' m may be: 'ac':1, 'dc' |
Set the sensitivity of channel c to v volts rms. c may be: 'a', 'cha', 'b', 'chb', 'ch1', 'ch2', 'both', 'chboth' v is a voltage in the range 0.0 (30mV lowest range) to 30.0. |
Set the sensitivity of channel c to v volts rms in dB wrt 1V. c may be: 'a', 'cha', 'b', 'chb', 'ch1', 'ch2', 'both', 'chboth' v is dBV in the range -50.0 to 30.0. |
Set the frequency axis of the spectrum. The use of span and freq depends on mode m. 'full': 0->25kHz [span] and [freq] ignored. 'zero_start: 0->[span], [freq] ignored. 'set_start': [freq]->[freq]+[span] 'set_center: [freq]-[span]/2 -> [freq]+[span]/2 |
Select which channel(s) to display (c) and the Y scaling mode (ym). c may be: 'a', 'cha', 'b', 'chb', 'ch1', 'ch2', 'both', 'chboth' ym may be: 'linear', '10dB', '2dB' (per division). |
Set the display full scale point to be r dB below input full scale. r will be forced to be a multiple of 10dB. |
Set the window function to w. w may be: 'flattop', 'hanning', 'uniform'. |
Start a measurement. The averaging mode is a: 'off', 'rms'. The number of spectra to average is c. This will be made a power of 2 internally. The maximum time to wait for completion is m seconds (rounded up to a multiple of 5). N.B. Call this BEFORE get_spectrum(). |
Return the annotation for channel c. ann is the result of read_annotation(). c may be: 'a', 'cha', 'b', 'chb', 'ch1', 'ch2' |
Read a spectrum. This returns a tuple: (frq,cha,chb,samps,aok,bok). frq is a NumPy array of frequencies. cha is a NumPy array of channel A amplitudes at the frq frequencies. chb is a NumPy array of channel B amplitudes at the frq frequencies. samps in the number of values in the arrays. aok is True if channel A was measured. bok is True if channel B was measured. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Feb 19 17:27:32 2014 | http://epydoc.sourceforge.net |