0cfadf14a343ae8749ddcb80e3a9eb3e32fd8de0,pyntcloud/core_class.py,PyntCloud,__init__,#PyntCloud#,31

Before Change


                self.kdtrees = kwargs[key]
            elif "octrees" in key:
                self.octrees = kwargs[key]
            elif "voxelgrids" in key:
                self.voxelgrids = kwargs[key]
            else:
                setattr(self, key, kwargs[key])

After Change


        self.structures = StructuresDict()
        for key, val in structures.items():
            self.structures[key] = val
        for key, val in kwargs.items():
            setattr(self, key, val)
        // store raw xyz values to share memory along structures
        self.xyz = self.points[["x", "y", "z"]].values
        self.centroid = self.xyz.mean(0)

    def __repr__(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: daavoo/pyntcloud
Commit Name: 0cfadf14a343ae8749ddcb80e3a9eb3e32fd8de0
Time: 2017-05-04
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/core_class.py
Class Name: PyntCloud
Method Name: __init__


Project Name: explosion/thinc
Commit Name: cc53003029d11839c394a9544a1394b62721869d
Time: 2019-10-18
Author: honnibal+gh@gmail.com
File Name: thinc/extra/wrappers.py
Class Name: PyTorchWrapper
Method Name: use_params


Project Name: MTG/freesound
Commit Name: da8c3cd7660e1a4b7fcc0e196462a05271ef7fef
Time: 2019-05-07
Author: frederic.font@upf.edu
File Name: utils/audioprocessing/processing.py
Class Name:
Method Name: convert_to_pcm