mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-14 23:26:18 +00:00
docs: fix typo in comment
Signed-off-by: Dev Singh <dev@devksingh.com>
This commit is contained in:
parent
d3de029269
commit
ab40e66a2c
@ -279,7 +279,7 @@ class CircleFit:
|
|||||||
# Calculate the distances from center (xc_1, yc_1)
|
# Calculate the distances from center (xc_1, yc_1)
|
||||||
Ri_1 = self.ournp.sqrt((x-xc_1)**2 + (y-yc_1)**2)
|
Ri_1 = self.ournp.sqrt((x-xc_1)**2 + (y-yc_1)**2)
|
||||||
R_1 = self.ournp.mean(Ri_1)
|
R_1 = self.ournp.mean(Ri_1)
|
||||||
# calcualte residual error
|
# calculate residual error
|
||||||
residu_1 = self.ournp.sum((Ri_1-R_1)**2)
|
residu_1 = self.ournp.sum((Ri_1-R_1)**2)
|
||||||
return xc_1, yc_1, R_1, residu_1
|
return xc_1, yc_1, R_1, residu_1
|
||||||
def HyperFit(self):
|
def HyperFit(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user