Mercurial > hg > cm
comparison equalLoudness.py @ 11:ca98f5f26bcb tip
* More frequencies to verify toolbox with.
author | Carl Bussey <c.bussey@se10.qmul.ac.uk> |
---|---|
date | Tue, 22 Apr 2014 16:32:07 +0100 |
parents | c5e7162fb8ea |
children |
comparison
equal
deleted
inserted
replaced
10:c5e7162fb8ea | 11:ca98f5f26bcb |
---|---|
3 import matplotlib.pyplot as plt | 3 import matplotlib.pyplot as plt |
4 import pdb | 4 import pdb |
5 import scipy.optimize as opt | 5 import scipy.optimize as opt |
6 import scipy.interpolate as interp | 6 import scipy.interpolate as interp |
7 | 7 |
8 fArray = [20, 50, 100, 200, 400, 800, 1000, 2000, 3000, 4000, 5000, 6000, 10000, 12000, 15000] | 8 fArray = [20, 50, 100, 200, 400, 800, 1000, 1500, 2000, 3000, 4000, 5000, 6000, 10000, 12000, 15000] |
9 #dArray = np.array([5, 10, 50, 100, 150, 200, 500, 1000])/1000.0 | 9 #dArray = np.array([5, 10, 50, 100, 150, 200, 500, 1000])/1000.0 |
10 dArray = np.array([8, 16, 32, 64, 128, 256, 512, 1024])/1000.0 | 10 dArray = np.array([8, 16, 32, 64, 128, 256, 512, 1024])/1000.0 |
11 | 11 |
12 def get_elc_range(xtol=0.0000005, verbose=False): | 12 def get_elc_range(xtol=0.0000005, verbose=False): |
13 """ | 13 """ |