def weight(self, x):
        return self.norm_const*self._shape(x)
This returns the normalised weight at distance x
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/sandbox/nonparametric/kernels.py/CustomKernel.weight