changeset 4:e911d6a23818

SL0_pt_noise: Fixed: replaced SNR with SNRdb
author nikcleju
date Thu, 15 Dec 2011 14:54:55 +0000
parents 3e97022ad8da
children cf46b35b2ef4
files SL0_pt_noise.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/SL0_pt_noise.py	Thu Dec 15 14:50:18 2011 +0000
+++ b/SL0_pt_noise.py	Thu Dec 15 14:54:55 2011 +0000
@@ -24,8 +24,8 @@
   
   # Overwrite SNRdb:
   for SNRdb in SNRs:
-    savedataname = 'approx_pt_sl0_SNR'+ str(int(SNR)) +'.mat'
-    saveplotbase = 'approx_pt_sl0_SNR'+ str(int(SNR)) +'_'
+    savedataname = 'approx_pt_sl0_SNR'+ str(int(SNRdb)) +'.mat'
+    saveplotbase = 'approx_pt_sl0_SNR'+ str(int(SNRdb)) +'_'
         
     # Run
     ABSapprox.run_multi(algosN,algosL,d,sigma,deltas,rhos,lambdas,numvects,SNRdb,\