Cleaned up code formatting.

这个提交包含在:
Craig Warren
2015-12-18 10:42:39 +00:00
父节点 9f38515b66
当前提交 9c782940a0

查看文件

@@ -142,9 +142,9 @@ def fitness_diff_dB(filename, args):
# Calculate sum of differences # Calculate sum of differences
diffdB = np.abs(modelresp - refresp) / np.amax(np.abs(refresp)) diffdB = np.abs(modelresp - refresp) / np.amax(np.abs(refresp))
diffdB = 20 * np.log10(np.sum(diffdB)) diffdB = 1 / (20 * np.log10(np.sum(diffdB)))
return 1 / diffdB return diffdB