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

Before Change


        
        kwargs["points"] = self.xyz
        
        if name in F_XYZ:
            valid_args = crosscheck_kwargs_function(kwargs, F_XYZ[name])
            return F_XYZ[name](**valid_args)

        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
        
        if name in S_POINTS:

After Change


                    the default values are -infinite for the min_i and infinite for the max_i.            
        

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

        else:
            raise ValueError("Unsupported filter. Check docstring")
            
    def get_sample(self, name, **kwargs):
         Returns arbitrary number of points sampled by selected method
        
        if name in S_POINTS:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

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: pgmpy/pgmpy
Commit Name: 5a53f60e5143ab6f416437dadddd2f1df133a247
Time: 2015-04-07
Author: abinash.panda.ece10@itbhu.ac.in
File Name: pgmpy/models/JunctionTree.py
Class Name: JunctionTree
Method Name: add_edge