From b771bd49a744e1e6fb5ba3702d5ff2921ccaee86 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Thu, 21 Jan 2016 09:55:50 +0000 Subject: [PATCH] Changed name of the fitness functions. --- user_libs/optimisations/taguchi_fitness.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/user_libs/optimisations/taguchi_fitness.py b/user_libs/optimisations/taguchi_fitness.py index d8d3dd56..8821a3d2 100644 --- a/user_libs/optimisations/taguchi_fitness.py +++ b/user_libs/optimisations/taguchi_fitness.py @@ -19,7 +19,7 @@ import matplotlib.pyplot as plt """ -def fitness_max(filename, args): +def maxvalue(filename, args): """Maximum value from a response. Args: @@ -42,7 +42,7 @@ def fitness_max(filename, args): return maxvalue -def fitness_xcorr(filename, args): +def xcorr(filename, args): """Maximum value of a cross-correlation between a response and a reference response. Args: @@ -114,7 +114,7 @@ def fitness_xcorr(filename, args): return xcorrmax -def fitness_diffs(filename, args): +def min_sum_diffs(filename, args): """Sum of the differences (in dB) between responses and a reference response. Args: