654a98c415aab4e625bb4e82cbf61fe015e2e297,lib/matplotlib/tri/tritools.py,TriAnalyzer,scale_factors,#TriAnalyzer#,36

Before Change


                                 minlength=self._triangulation.x.size) != 0)
        x = self._triangulation.x[node_used]
        y = self._triangulation.y[node_used]
        ux = np.max(x)-np.min(x)
        uy = np.max(y)-np.min(y)
        return (1./float(ux), 1./float(uy))

    def circle_ratios(self, rescale=True):
        
        Returns a measure of the triangulation triangles flatness.

After Change


        node_used = (np.bincount(np.ravel(compressed_triangles),
                                 minlength=self._triangulation.x.size) != 0)
        return (1 / np.ptp(self._triangulation.x[node_used]),
                1 / np.ptp(self._triangulation.y[node_used]))

    def circle_ratios(self, rescale=True):
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: matplotlib/matplotlib
Commit Name: 654a98c415aab4e625bb4e82cbf61fe015e2e297
Time: 2017-06-09
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/tri/tritools.py
Class Name: TriAnalyzer
Method Name: scale_factors


Project Name: scikit-image/scikit-image
Commit Name: 9fcb6c9d9cadb8efa6426f29c94ab59928f41761
Time: 2020-04-22
Author: hbabcock@mac.com
File Name: skimage/morphology/extrema.py
Class Name:
Method Name: h_minima


Project Name: scikit-image/scikit-image
Commit Name: 9fcb6c9d9cadb8efa6426f29c94ab59928f41761
Time: 2020-04-22
Author: hbabcock@mac.com
File Name: skimage/morphology/extrema.py
Class Name:
Method Name: h_maxima