def paramstopot(thresh, shape, scale):
 return (shape, (scale - (shape * thresh)))

def paramstopot ( thresh , shape , scale ) : return ( shape , ( scale - ( shape * thresh ) ) )
transform shape scale for peak over threshold y = x-u|x>u ~ gpd if x ~ gpd notation of de zea bermudez .