Did I find the right examples for you? yes no

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)

src/p/y/pyvision-HEAD/vision/reconstruction/pmvs.py   pyvision(Download)
import os
import numpy
import itertools
import logging
from scipy.spatial.kdtree import KDTree
        self.imagetree = {}
        self.imagemap = {}
        self.realtree = KDTree([x.realcoords for x in self.patches])
        self.realmapping = {}
 
        logger.debug("Building image KD tree")
        for key, imagecoords in self.imagetree.items():
            self.imagetree[key] = KDTree(imagecoords)
 
    def realtoimages(self, coords):

src/q/s/QSTK-0.2.7/QSTK/qstklearn/fastknn.py   QSTK(Download)
			random.shuffle(self.anchors)
			self.anchors = self.anchors[0:self.num_anchors]
			self.kdt = scipy.spatial.kdtree.KDTree(numpy.array(self.training_data)[self.anchors,:])
		self.is_sorted = False
 

src/c/o/CoolProp-4.2.0/CoolProp/Plots/Plots.py   CoolProp(Download)
from .Common import BasePlot
from scipy import interpolate
from scipy.spatial.kdtree import KDTree
 
class IsoLine(object):