Mercurial > ~darius > hgwebdir.cgi > pyinst
changeset 50:d143ef509fb7
- Print configuration details before starting
- Display units
author | Daniel O'Connor <doconnor@gsoft.com.au> |
---|---|
date | Thu, 31 Jan 2013 13:00:11 +1030 |
parents | 22187590594b |
children | 03b06d71f0fd |
files | rs_fsp7_noisetest.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rs_fsp7_noisetest.py Thu Jan 31 12:53:22 2013 +1030 +++ b/rs_fsp7_noisetest.py Thu Jan 31 13:00:11 2013 +1030 @@ -162,9 +162,10 @@ r.write("INIT:CONT OFF") + print "Centre: %.1f Mhz, Span %.1f Mhz, Input %.1f MHz, %d sweeps, ENR %.2f dB" % (freq / 1e6, options.span / 1e6, options.input / 1e6, options.sweeps, enr) while True: off, on, nf = donoisetest(r, enr) - print "Off %.3f dB, on %.3f dB, ENR %.2f, NF %.2f" % (off, on, enr, nf) + print "Off %.3f dBm/Hz, on %.3f dBm/Hz, NF %.2f dB" % (off, on, nf) print "Press enter to perform a new measurement" sys.stdin.readline()