From 5bb206233d5cb91fb6059394cea44ff8af4efdab Mon Sep 17 00:00:00 2001 From: Kevin Keraudren Date: Tue, 1 Dec 2015 15:18:57 +0000 Subject: [PATCH] fixed typo and added blank line --- skimage/measure/fit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/skimage/measure/fit.py b/skimage/measure/fit.py index 9849c996..4ada55b2 100644 --- a/skimage/measure/fit.py +++ b/skimage/measure/fit.py @@ -159,7 +159,7 @@ class LineModel(BaseModel): class LineModel3D(BaseModel): """Total least squares estimator for 3D lines. - Lines are defined by point and a unit vector (direction). + Lines are defined by a point and a unit vector (direction). Attributes ---------- @@ -201,6 +201,7 @@ class LineModel3D(BaseModel): def residuals(self, data): """Determine residuals of data to model. + For each point the shortest distance to the line is returned. It is obtained by projecting the data onto the line.