def __get_pd_mean(data, c=1.):
"""Get the mean and the standard deviation of data
Args:
data (numpy.ndarray): the data
Returns:
float, float: the mean and the standard deviation
"""
p = np.nanmean(data)
d = np.nanstd(data) / c
return p, d
评论列表
文章目录