From 082f99aa0d25d3b3e17d50be61839e2b9212f8a3 Mon Sep 17 00:00:00 2001 From: rtan Date: Wed, 21 Aug 2024 11:00:09 +0200 Subject: [PATCH] added b_field_rotation --- 20240709SerdarModScript.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/20240709SerdarModScript.py b/20240709SerdarModScript.py index 61f70dd..c9a6624 100644 --- a/20240709SerdarModScript.py +++ b/20240709SerdarModScript.py @@ -575,7 +575,7 @@ def sweep_b_val(instr:pyvisa.resources.Resource, min_bval:float, max_bval:float, # TODO: write a function that simultaneously controls the two power supplies and perform the rotation of the B-field. => Threading # in function head should be func(instr1, instr2, args1, kwargs1, args2, kwargs2) def b_field_rotation(instr1:pyvisa.resources.Resource, instr2:pyvisa.resources.Resource, - Babs:float, startangle:float, endangle:float, angle_stepsize:float, clockwise=True)->None: + Babs:float, startangle:float, endangle:float, angle_stepsize:float, clockwise=True, sweepdown=False)->None: pass ################################################################# END OF FUNCTION DEFS ###########################################################################################