'''
Created on Dec 10, 2012

@author: dstrauss
'''

import numpy as np

D = {'solverType':'splitField', 'flavor':'TE', 'numRuns':1000, 'expt':'bringDa', 'numProcs':16}


def getMyVars(parseNumber, D):
    '''routine to return the parameters to test at the current iteration.'''
    # noFreqs,noPhis,bkg = np.meshgrid(range(1,7), range(1,7), range(100))
    
    snr,bkg = np.meshgrid(np.logspace(-5,0,20),range(50))
        
    snr = snr.flatten()
    bkg = bkg.flatten()                 

    D['relNoi'] = snr[parseNumber]        
    D['bkgNo'] = bkg[parseNumber]+100

    
        
    return D
@@ -122,17 +122,17 @@
 umRuns':
-1
+2
 000, 'ex
@@ -404,17 +404,19 @@
 ),range(
-5
+100
 0))%0A    

update SPF for 100 trials