def _kernweight(self, x ):
        if isinstance( self._kernels, CustomKernel ):
            ## Radial case
            #d = x.T * x
            #x is matrix, 2d, element wise sqrt looks wrong
            #d = np.sqrt( x.T * x )
            x = np.asarray(x)
            #d = np.sqrt( (x * x).sum(-1) )
            d = (x * x).sum(-1)
            return self._kernels( np.asarray(d) )
Sort into pairs of complex conjugates.
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/sandbox/nonparametric/kernels.py/NdKernel._kernweight--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/signal/filter_design.py/_cplxpair