Mercurial > hg > pycsalgos
comparison scripts/ABSapprox.py @ 31:829bf04c92af
Enabled fine step of 0.05 for delta and rho
author | nikcleju |
---|---|
date | Thu, 10 Nov 2011 22:48:39 +0000 |
parents | 5f46ff51c7ff |
children | e1da5140c9a5 |
comparison
equal
deleted
inserted
replaced
30:5f46ff51c7ff | 31:829bf04c92af |
---|---|
117 | 117 |
118 def standard_params(): | 118 def standard_params(): |
119 #Set up standard experiment parameters | 119 #Set up standard experiment parameters |
120 d = 50.0; | 120 d = 50.0; |
121 sigma = 2.0 | 121 sigma = 2.0 |
122 #deltas = np.arange(0.05,1.,0.05) | 122 deltas = np.arange(0.05,1.,0.05) |
123 #rhos = np.arange(0.05,1.,0.05) | 123 rhos = np.arange(0.05,1.,0.05) |
124 #deltas = np.array([0.05, 0.45, 0.95]) | 124 #deltas = np.array([0.05, 0.45, 0.95]) |
125 #rhos = np.array([0.05, 0.45, 0.95]) | 125 #rhos = np.array([0.05, 0.45, 0.95]) |
126 deltas = np.array([0.05]) | 126 #deltas = np.array([0.05]) |
127 rhos = np.array([0.05]) | 127 #rhos = np.array([0.05]) |
128 #delta = 0.8; | 128 #delta = 0.8; |
129 #rho = 0.15; | 129 #rho = 0.15; |
130 numvects = 100; # Number of vectors to generate | 130 numvects = 100; # Number of vectors to generate |
131 SNRdb = 20.; # This is norm(signal)/norm(noise), so power, not energy | 131 SNRdb = 20.; # This is norm(signal)/norm(noise), so power, not energy |
132 # Values for lambda | 132 # Values for lambda |