comparison fsp7_phasenoise.py @ 82:6ce8ed5ba76d

Disable phasenoise measurement before doing wide sweeps.
author Daniel O'Connor <doconnor@gsoft.com.au>
date Fri, 27 Sep 2024 17:50:10 +0930
parents 1947d10f9395
children
comparison
equal deleted inserted replaced
81:1947d10f9395 82:6ce8ed5ba76d
199 # Take screen shot and save it 199 # Take screen shot and save it
200 if ssprefix is not None: 200 if ssprefix is not None:
201 screenshot(r, '%s-%d_%s_offset.png' % ( 201 screenshot(r, '%s-%d_%s_offset.png' % (
202 ssprefix, idx, misc.sifmt(m['offset'], dp = 0, sp = ''))) 202 ssprefix, idx, misc.sifmt(m['offset'], dp = 0, sp = '')))
203 203
204 # Turn off markers (disables phasenoise mode)
205 r.write('CALC:MARK:AOFF')
206
204 # Do a wide band scan 207 # Do a wide band scan
205 if ssprefix is not None: 208 if ssprefix is not None:
206 start = 1e6 209 start = 1e6
207 stop = 100e6 210 stop = 100e6
208 setupsweep(r, 1e3, 3e3, start = start, stop = stop) 211 setupsweep(r, 1e3, 3e3, start = start, stop = stop)