Save-Path-File-Changes #1
@ -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 ###########################################################################################
|
||||||
|
3
Test.py
3
Test.py
@ -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
|
||||||
|
1
magnet_modules/__init__.py
Normal file
1
magnet_modules/__init__.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
BIN
magnet_modules/__pycache__/__init__.cpython-311.pyc
Normal file
BIN
magnet_modules/__pycache__/__init__.cpython-311.pyc
Normal file
Binary file not shown.
BIN
magnet_modules/__pycache__/sweep_functions.cpython-311.pyc
Normal file
BIN
magnet_modules/__pycache__/sweep_functions.cpython-311.pyc
Normal file
Binary file not shown.
2
magnet_modules/sweep_functions.py
Normal file
2
magnet_modules/sweep_functions.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
def test_func():
|
||||||
|
print('hello world! from test func')
|
Loading…
x
Reference in New Issue
Block a user