forked from zietzm/Helmholtz_Test_Bench
Label change
This commit is contained in:
@@ -1146,7 +1146,7 @@ class CalibrateMagnetometerSimple(Frame):
|
||||
# RIGHT COLUMN
|
||||
# Input coordinate system conversion matrix
|
||||
row_counter = 0
|
||||
input_cos_frame = LabelFrame(self.right_column, text="Input MGM to Helmholtz COS Transformation Matrix")
|
||||
input_cos_frame = LabelFrame(self.right_column, text="Input Helmholtz to MGM Transformation Matrix")
|
||||
input_cos_frame.grid(row=row_counter, column=0, padx=(100, 0), pady=20, sticky="nw")
|
||||
for i, label in enumerate(['X', 'Y', 'Z']):
|
||||
axis_label = Label(input_cos_frame, text=label)
|
||||
@@ -1335,7 +1335,7 @@ class CalibrateMagnetometerSimple(Frame):
|
||||
ui_print("Error: Failed to export non-existent coordinate transformation matrix.")
|
||||
return
|
||||
save_dict_list_to_csv('magnetometer_cos_trans_matrix.csv', cos_trans_matrix, query_path=True)
|
||||
ui_print("Saved MGM to Helmholtz coordinate transformation matrix to magnetometer_cos_trans_matrix.csv.")
|
||||
ui_print("Saved Helmholtz to MGM coordinate transformation matrix to magnetometer_cos_trans_matrix.csv.")
|
||||
|
||||
def copy_to_clipboard(self):
|
||||
self.clipboard_clear()
|
||||
@@ -1508,7 +1508,7 @@ class CalibrateMagnetometerComplete(Frame):
|
||||
# CENTER COLUMN
|
||||
row_counter = 0
|
||||
# Input coordinate system conversion matrix
|
||||
input_cos_frame = LabelFrame(self.center_column, text="Input MGM to Helmholtz COS Transformation Matrix")
|
||||
input_cos_frame = LabelFrame(self.center_column, text="Input Helmholtz MGM Transformation Matrix")
|
||||
input_cos_frame.grid(row=row_counter, column=0, padx=(100, 0), pady=20, sticky="nw")
|
||||
for i, label in enumerate(['X', 'Y', 'Z']):
|
||||
axis_label = Label(input_cos_frame, text=label)
|
||||
@@ -1830,7 +1830,7 @@ class CalibrateMagnetometerComplete(Frame):
|
||||
return
|
||||
try:
|
||||
save_dict_list_to_csv('magnetometer_cos_trans_matrix.csv', cos_trans_matrix, query_path=True)
|
||||
ui_print("Saved MGM to Helmholtz coordinate transformation matrix to magnetometer_cos_trans_matrix.csv.")
|
||||
ui_print("Saved Helmholtz to MGM coordinate transformation matrix to magnetometer_cos_trans_matrix.csv.")
|
||||
except FileNotFoundError:
|
||||
ui_print('Did not save matrix since incorrect file path specified!')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user