comparison specan.py @ 77:23c96322cfb6

Spell Rohde Schwarz correctly.
author Daniel O'Connor <doconnor@gsoft.com.au>
date Fri, 27 Sep 2024 11:34:16 +0930
parents c93d6d4cb04b
children
comparison
equal deleted inserted replaced
76:e2bb136bd2ed 77:23c96322cfb6
75 #print "Getting " + k + " / " + self.attrs[k][0] + " = " + res 75 #print "Getting " + k + " / " + self.attrs[k][0] + " = " + res
76 rtn[k] = self.attrs[k][1](res) 76 rtn[k] = self.attrs[k][1](res)
77 return rtn 77 return rtn
78 78
79 class RSSPA(Traceinst): 79 class RSSPA(Traceinst):
80 '''Rhode & Schwartz Spectrum Analyzer''' 80 '''Rohde & Schwarz Spectrum Analyzer'''
81 81
82 attrs = { 'fstart' : ['FREQ:START', float, None], # Page 561 82 attrs = { 'fstart' : ['FREQ:START', float, None], # Page 561
83 'fstop' : ['FREQ:STOP', float, None], 83 'fstop' : ['FREQ:STOP', float, None],
84 'atten' : ['INP:ATT', float, None], # Page 518 84 'atten' : ['INP:ATT', float, None], # Page 518
85 'resbw' : ['SENSE:BANDWIDTH:RESOLUTION', float, None], # Page 539 85 'resbw' : ['SENSE:BANDWIDTH:RESOLUTION', float, None], # Page 539