Calculate kernel density estimator for parameter

def kde(self, name, npoints=_npoints, **kwargs):
        """ 
        Calculate kernel density estimator for parameter
        """
        data = self.get(name,**kwargs)
        return kde(data,npoints)