Mercurial > ~darius > hgwebdir.cgi > pyinst
comparison rs_fsp7_noisetest.py @ 49:22187590594b
Turn averaging on otherwise we throw away all but the last sweep.
author | Daniel O'Connor <doconnor@gsoft.com.au> |
---|---|
date | Thu, 31 Jan 2013 12:53:22 +1030 |
parents | 386e1cb04799 |
children | d143ef509fb7 |
comparison
equal
deleted
inserted
replaced
48:386e1cb04799 | 49:22187590594b |
---|---|
66 # Switch marker 1 on in screen A | 66 # Switch marker 1 on in screen A |
67 r.write("CALC:MARK1 ON") | 67 r.write("CALC:MARK1 ON") |
68 | 68 |
69 # Enable noise measurement | 69 # Enable noise measurement |
70 r.write("CALC:MARK1:FUNC:NOIS ON") | 70 r.write("CALC:MARK1:FUNC:NOIS ON") |
71 | |
72 # Turn averaging on | |
73 r.write("AVER:STAT ON") | |
71 | 74 |
72 # Set number of sweeps | 75 # Set number of sweeps |
73 r.write("SWE:COUN %d" % (sweeps)) | 76 r.write("SWE:COUN %d" % (sweeps)) |
74 | 77 |
75 # Set resolution bandwidth | 78 # Set resolution bandwidth |