e299362c55c3f6ba34c37fb195ba0f0eb16fffe3,pyntcloud/scalar_fields/sf_xyz.py,SphereFit,compute,#SphereFit#,49

Before Change


        super().__init__(pyntcloud)
        
    def compute(self):
        self.to_be_added[self.name] =  single_fit(self.points, self.model, self.sampler,
                                         model_kwargs=self.model_kwargs,
                                         max_iterations=self.max_iterations)

class CustomFit(ScalarField_XYZ):
     Fit using custom model and/or sampler
    

After Change


        super().__init__(pyntcloud)
        
    def compute(self):
        self.to_be_added[self.name] =  single_fit(self.points, self.model, self.sampler,
                                         model_kwargs=self.model_kwargs,
                                         max_iterations=self.max_iterations,
                                         n_inliers_to_stop=self.n_inliers_to_stop).astype(np.uint8)

class CustomFit(ScalarField_XYZ):
     Fit using custom model and/or sampler
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: daavoo/pyntcloud
Commit Name: e299362c55c3f6ba34c37fb195ba0f0eb16fffe3
Time: 2017-04-08
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/scalar_fields/sf_xyz.py
Class Name: SphereFit
Method Name: compute


Project Name: daavoo/pyntcloud
Commit Name: e299362c55c3f6ba34c37fb195ba0f0eb16fffe3
Time: 2017-04-08
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/scalar_fields/sf_xyz.py
Class Name: PlaneFit
Method Name: compute


Project Name: daavoo/pyntcloud
Commit Name: 319c5f9509c7ac699d88e137fd995e75fb07e8d5
Time: 2017-06-24
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/scalar_fields/sf_xyz.py
Class Name: CustomFit
Method Name: compute