Output UB matrix
This commit is contained in:
parent
999ceba3b7
commit
dac1237009
@ -75,7 +75,11 @@ def create():
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
with open(os.path.join(temp_dir, "spind.txt")) as f_out:
|
with open(os.path.join(temp_dir, "spind.txt")) as f_out:
|
||||||
output_textarea.value = f_out.readlines()
|
full_out = ""
|
||||||
|
for line in f_out:
|
||||||
|
ub_matrix = np.inv(np.transpose(list(map(float, line.split()[-9:]))))
|
||||||
|
full_out = full_out + str(ub_matrix)
|
||||||
|
output_textarea.value = full_out
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
print("No results from spind")
|
print("No results from spind")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user