319c5f9509c7ac699d88e137fd995e75fb07e8d5,pyntcloud/scalar_fields/sf_xyz.py,SphereFit,compute,#SphereFit#,60
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,
n_inliers_to_stop=self.n_inliers_to_stop).astype(np.uint8)
After Change
super().__init__(pyntcloud)
def compute(self):
inliers = 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)
self.to_be_added[self.name] = inliers.astype(np.uint8)
class CustomFit(ScalarField_XYZ):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
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: SphereFit
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
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: PlaneFit
Method Name: compute