Save-Path-File-Changes #1

Merged
rtan merged 41 commits from Save-Path-File-Changes into main 2025-04-23 13:56:19 +00:00
6 changed files with 7 additions and 0 deletions
Showing only changes of commit 14d59a639b - Show all commits

View File

@ -1063,6 +1063,7 @@ def sweep_b_angle(instr1:pyvisa.resources.Resource, instr2:pyvisa.resources.Reso
# TODO: see later parts of b_field_rotation from line 820 onwards, and see if same logic can be applied here # TODO: see later parts of b_field_rotation from line 820 onwards, and see if same logic can be applied here
# acquire coordinates along the fixed axis, threading, sweep both supplies till desired value (with lock) # acquire coordinates along the fixed axis, threading, sweep both supplies till desired value (with lock)
# then set event, measure, on with the next iteration, just like in b-field-rotation # then set event, measure, on with the next iteration, just like in b-field-rotation
cartesian_coords = generate_coord_list_fixed_angle(angle, ) cartesian_coords = generate_coord_list_fixed_angle(angle, )
################################################################# END OF FUNCTION DEFS ########################################################################################### ################################################################# END OF FUNCTION DEFS ###########################################################################################

View File

@ -1,4 +1,7 @@
import math import math
from magnet_modules import sweep_functions as sf
# sf.test_func()
def generate_angle_coord_list(radius, start_angle, end_angle, step_size, clockwise=True): def generate_angle_coord_list(radius, start_angle, end_angle, step_size, clockwise=True):
# TODO: DOCS # TODO: DOCS

View File

@ -0,0 +1 @@

Binary file not shown.

View File

@ -0,0 +1,2 @@
def test_func():
print('hello world! from test func')