def compute( stats ): """Usage: health = compute( reciprocity_stats )""" if stats['used_size'] == 0: # No stats could be computed return 0.0 return common.stats2arccot( stats, 'median', 89238.59782608696 )
def compute( stats ): """Usage: health = compute( reciprocity_stats )""" if stats['used_size'] == 0: # No stats could be computed return 0.0 return common.stats2arccot( stats, 'median', 822617.7377049178 )
def compute(stats): """Usage: health = compute( reciprocity_stats )""" if stats["used_size"] == 0: # No stats could be computed return 0.0 return common.stats2arccot(stats, "median", 15000000.0)