first steps on planned changes

This commit is contained in:
Ryan Tan 2024-09-06 11:01:14 +02:00
parent 4450fd1e76
commit e2f92a2faf

View File

@ -165,6 +165,9 @@ def move_xy(target_x, target_y): # moving in x and y direction closed to desired
# intensity_data = [] # To store data from each scan
# data_list = []
# TODO: change the save file path to be entered as in function header for the following functions:
# move_scan_xy, sweep_b_val, b_field_rotation
def move_scan_xy(range_x, range_y, resolution, Settings, baseFileName):
"""
This function moves the positioners to scan the sample with desired ranges and resolution in 2 dimensions.
@ -221,8 +224,6 @@ def move_scan_xy(range_x, range_y, resolution, Settings, baseFileName):
move_axis(axis_y, y_positions)
y = True
#we acquire with the LF
acquire_name_spe = f'{baseFileName}_X{x_positions}_Y{y_positions}'
AcquireAndLock(acquire_name_spe) #this creates a .spe file with the scan name.