f9b3bc145e981a05dd27abc8f2987692bf4d3b5c,pyntcloud/pyntcloud.py,PyntCloud,get_filter,#PyntCloud#,280

Before Change



        elif name in F_KDTREE:
            kwargs["kdtree"] = self.kdtrees[kwargs["kdtree"]]
            valid_args = crosscheck_kwargs_function(kwargs, F_KDTREE[name])
            return F_KDTREE[name](**valid_args)

        else:
            raise ValueError("Unsupported filter; supported filters are: {}".format(ALL_FILTERS)) 
    
    def get_sample(self, name, **kwargs):
         Returns arbitrary number of points sampled by selected method

After Change


        

        if name in ALL_FILTERS:
            F = ALL_FILTERS[name](self, **kwargs)
            F.extract_info()
            return F.compute()

        else:
            raise ValueError("Unsupported filter. Check docstring")
            
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 16

Instances


Project Name: daavoo/pyntcloud
Commit Name: f9b3bc145e981a05dd27abc8f2987692bf4d3b5c
Time: 2017-03-09
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/pyntcloud.py
Class Name: PyntCloud
Method Name: get_filter


Project Name: daavoo/pyntcloud
Commit Name: a2f318363a1c4dde386d7f7ac316baa706678b89
Time: 2017-03-09
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/pyntcloud.py
Class Name: PyntCloud
Method Name: get_sample


Project Name: daavoo/pyntcloud
Commit Name: f9b3bc145e981a05dd27abc8f2987692bf4d3b5c
Time: 2017-03-09
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/pyntcloud.py
Class Name: PyntCloud
Method Name: get_filter


Project Name: daavoo/pyntcloud
Commit Name: b7353a209d6fa1f822c68d1c2de091c5e525c1b3
Time: 2017-04-10
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/pyntcloud.py
Class Name: PyntCloud
Method Name: add_structure