【发布时间】:2017-08-17 15:46:12
【问题描述】:
我目前正在对我的数组执行此操作:
dataCube = scipy.ndimage.filters.gaussian_filter(dataCube, sigma, truncate=8)
但gaussian_filter() 似乎没有确保高斯的峰值/中心值为 1 的选项。我该怎么做?
将dataCube * np.sqrt(2*np.pi * sigma**2) 相乘可以解决问题吗?
【问题讨论】:
标签: python math scipy gaussian