import synthesize as s p = s.pulsegen() import gpib_eth as g try: yig except: from yig import _yig as yig try: fc except: fc = g.field_controller() try: a except: a = g.agilent() ### NOTE: Add options for setup and nutation type experients ### averages = 64 # Averages on Scope a.acquire(averages) ### Define Observe Pulse Parameters ### dx = 500e-9 # Delay at start d1 = 200e-9 # delay between 90-pulse and 180-pulse d2 = 1000e-9 # delay between 2 observe 180-pulses p0 = 32e-9 # (observe) 90-pulse length, 1st pulse p1 = 32e-9 # (observe) 180-pulse length, 2nd and 4th pulse d0 = 90e-9 # Offset from agilent scope
try: p except: p = s.pulsegen() try: yig except: from yig import _yig as yig try: fc except: fc = g.field_controller() try: a except: a = g.agilent()#}}} ### Query for fileName ### #{{{ #save = raw_input("Do you wish to save your data set?\n (y or n) --> ") #if str(save) == 'y': # fileName = '190415Experiments.h5' # print "Saving to file ",fileName # dataName = raw_input("Name your data set \n -->") # save = True #elif str(save) == 'n': # print "Not saving your file" # save = False #else: # "Didn't understand your answer, continuing..."#}}}