SciKit-Surgery/scikit-surgerycore

Wrong tre from fle

thompson318 opened this issue · 1 comments

line 120 of errors.py should be

inner_sum = inner_sum + (d_k * d_k / (f_array[axis_index] * f_array[axis_index] ))

not

inner_sum = inner_sum + (d_k * d_k / f_array[axis_index] )

@MattClarkson have you used the function compute_tre_from_fle in anything? I think it is wrong as above. It certainly gives wrong values in use with surgeryfred. Do you have a string opinion?