comparison fsp7_phasenoise.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 e2bb136bd2ed
children 1947d10f9395
comparison
equal deleted inserted replaced
76:e2bb136bd2ed 77:23c96322cfb6
241 img.save(ssname) 241 img.save(ssname)
242 os.unlink(bmpname) 242 os.unlink(bmpname)
243 r.write('MMEM:DEL %s' % (sapath,)) 243 r.write('MMEM:DEL %s' % (sapath,))
244 244
245 if __name__ == '__main__': 245 if __name__ == '__main__':
246 parser = argparse.ArgumentParser(description = 'Configures a Rhode Schwartz FSP7 spectrum analyser to do a phase noise measurement') 246 parser = argparse.ArgumentParser(description = 'Configures a Rohde Schwarz FSP7 spectrum analyser to do a phase noise measurement')
247 parser.add_argument('-a', '--atten', default = None, help = 'Attenuation level (default: autoamatic)') 247 parser.add_argument('-a', '--atten', default = None, help = 'Attenuation level (default: autoamatic)')
248 parser.add_argument('-r', '--rlevel', default = 10, help = 'Reference level (default: %default dBm)', type = float) 248 parser.add_argument('-r', '--rlevel', default = 10, help = 'Reference level (default: %default dBm)', type = float)
249 parser.add_argument('-s', '--ssprefix', default = None, help = 'Path name to save screenshots to (default: none)', type = str) 249 parser.add_argument('-s', '--ssprefix', default = None, help = 'Path name to save screenshots to (default: none)', type = str)
250 parser.add_argument('-w', '--sweeps', default = 1, help = 'Number of sweeps (default: %default)', type = int) 250 parser.add_argument('-w', '--sweeps', default = 1, help = 'Number of sweeps (default: %default)', type = int)
251 parser.add_argument('-y', '--yscale', default = 120, help = 'Y-scale extent (default: %default dB)', type = float) 251 parser.add_argument('-y', '--yscale', default = 120, help = 'Y-scale extent (default: %default dB)', type = float)