def findtp(x, h=0.0, kind=None, method='clib'):