def refineGrid(self, cmin, cmax):
        """ given grid boundaries, generate the corresponding DOE pattern from template"""
        diff = array((cmax - cmin).tolist()*self.nPts).reshape(self.nPts, self.nPars)
        return self.doepat * diff + array(cmin.tolist()*self.nPts).reshape(self.nPts, self.nPars)
dataset/ETHPy150Open pybrain/pybrain/pybrain/supervised/trainers/svmtrainer.py/GridSearchDOE.refineGrid/original