style(tracingfuncs): PEP8 renaming camel-case method to snake-case
Questions
check_vectors_candidate_points - part 1
This function (nee checkVectorsCandidatePoints) takes the parameters x and y but these are never used directly,
rather x and y are obtained anew in each iteration of this loop...
for x_n, y_n in candidate_points:
x = x_n - x_ref_2
y = y_n - y_ref_2
theta = math.atan2(x, y)
x_y_theta.append([x_n, y_n, abs(theta - ref_theta)])
We should be able to just drop x and y as parameters to this method but I wanted to check as there aren't any tests
for these methods/functions.
check_vectors_candidate_points - part 2
I also noticed that in some places check_vectors_candidate_points (nee checkVectorsCandidatePoints)
was commented out (lines 83 and 187) in favour of using find_next_best_point (nee findNextBestPoint) but
check_vectors_candidate_points is still used in some places. Is this deliberate? Can or should find_next_best_point
replace all calls made to check_vectors_candidate_points
This commit is squash of seven individual commits that address Numpydoc validation
Removes unused functions/methods...
Renames methods to adhere to PEP8
Questions
check_vectors_candidate_points
- part 1This function (nee
checkVectorsCandidatePoints
) takes the parametersx
andy
but these are never used directly, ratherx
andy
are obtained anew in each iteration of this loop...We should be able to just drop
x
andy
as parameters to this method but I wanted to check as there aren't any tests for these methods/functions.check_vectors_candidate_points
- part 2I also noticed that in some places
check_vectors_candidate_points
(neecheckVectorsCandidatePoints
) was commented out (lines 83 and 187) in favour of usingfind_next_best_point
(neefindNextBestPoint
) butcheck_vectors_candidate_points
is still used in some places. Is this deliberate? Can or shouldfind_next_best_point
replace all calls made tocheck_vectors_candidate_points