diff --git a/20240709SerdarModScript.py b/20240709SerdarModScript.py index df19bb9..fba87e9 100644 --- a/20240709SerdarModScript.py +++ b/20240709SerdarModScript.py @@ -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. @@ -219,9 +222,7 @@ def move_scan_xy(range_x, range_y, resolution, Settings, baseFileName): #this if will make the positioner wait a bit longer to really go to the target. if y == False: move_axis(axis_y, y_positions) - y = True - - + y = True #we acquire with the LF acquire_name_spe = f'{baseFileName}_X{x_positions}_Y{y_positions}'