Commit 1138c2f5 authored by Torbjørn Ludvigsen's avatar Torbjørn Ludvigsen 👷

Adds sample position data

parent 5c380d13
......@@ -363,8 +363,9 @@ if __name__ == "__main__":
else:
xyz_of_samp = np.array([
# You might want to manually input positions where you made samples here like
# [1.1, 2.2, 3.3],
# ... etc
[ -13.82573298, 185.92015633, 664.66427937],
[-389.81246064, -32.85556323 , 587.55219886],
[ 237.76400537, -126.40678778, 239.0320148]
])
samp = args['sample_data']
......@@ -380,14 +381,14 @@ if __name__ == "__main__":
[400.53 , 175.53 , 166.10 , -656.90],
[229.27 , 511.14 , -48.41 , -554.31],
[-41.69 , -62.87 , 306.76 , -225.31],
[272.97 , 176.65 , 381.13 , -717.81],
[338.07 , 633.70 , 309.27 , -911.22],
[504.47 , 658.88 , 48.60 , -794.42],
[504.47 , 658.88 , 48.60 , -794.42],
[103.50 , 569.98 , 633.68 , -860.25],
[229.37 , 7.32 , 411.98 , -575.81],
[428.73 , -413.46 , 250.38 , -133.93],
[-506.97 , 343.33 , 327.68 , -4.40]
#[272.97 , 176.65 , 381.13 , -717.81],
#[338.07 , 633.70 , 309.27 , -911.22],
#[504.47 , 658.88 , 48.60 , -794.42],
#[504.47 , 658.88 , 48.60 , -794.42],
#[103.50 , 569.98 , 633.68 , -860.25],
#[229.37 , 7.32 , 411.98 , -575.81],
#[428.73 , -413.46 , 250.38 , -133.93],
#[-506.97 , 343.33 , 327.68 , -4.40]
])
u = np.shape(samp)[0]
......@@ -416,6 +417,6 @@ if __name__ == "__main__":
print_anch_err(sol_anch, anchors)
print("Method: %s" % args['method'])
print("RUN TIME : {0}".format(st2-st1))
print("positions: ")
print(solution[params_anch:])
print("positions: ")
print(solution[params_anch:])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment