def tmean(a, limits=None, inclusive=(True, True), axis=None):
 return trima(a, limits=limits, inclusive=inclusive).mean(axis=axis)

def tmean ( a , limits = None , inclusive = ( True , True ) , axis = None ) : return trima ( a , limits = limits , inclusive = inclusive ) . mean ( axis = axis )
compute the trimmed mean .