Fix doc string of ransac function

This commit is contained in:
Johannes Schönberger
2013-05-02 18:27:57 +02:00
committed by Johannes Schönberger
parent 21d1e09330
commit 4a93f38395
+2 -2
View File
@@ -266,8 +266,7 @@ class CircleModel(BaseModel):
def ransac(data, model_class, min_samples, residual_threshold,
max_trials=1000):
'''
Fits a model to data with the RANSAC (random sample consensus) algorithm.
'''Fits a model to data with the RANSAC (random sample consensus) algorithm.
Parameters
----------
@@ -279,6 +278,7 @@ def ransac(data, model_class, min_samples, residual_threshold,
* `estimate(data)`
* `residuals(data)`
* `is_degenerate(data)`
min_samples : int
The minimum number of data points to fit a model.