DataPipeline/Base.py
def findVariableName(self, model, i=0):
        """Find a parameter name for the given model at index i,
           used so we don't cause an error when doing processFits when no
           variable is given in the conf file"""

        X = Fitting.getFitter(model)
        if X==None:
            print 'no fitter found for this model name'
            return 'a'
        varname = X.getVarNames()[i]
        return varname
Find a parameter name for the given model at index i,
           used so we don't cause an error when doing processFits when no
           variable is given in the conf file
Find a parameter name for the given model at index i,
used so we don't cause an error when doing processFits when no
variable is given in the conf file
Find a parameter name for the given model at index i used so we don ' t cause an error when doing processFits when no variable is given in the conf file
def findVariableName(self, model, i=0):
        X = Fitting.getFitter(model)
        if X==None:
            print 'no fitter found for this model name'
            return 'a'
        varname = X.getVarNames()[i]
        return varname
def findVariableName ( self , model , i = 0 ) : X = Fitting . getFitter ( model ) if X == None : print 'no fitter found for this model name' return 'a' varname = X . getVarNames ( ) [ i ] return varname
Find a parameter name for the given model at index i,
used so we don't cause an error when doing processFits when no
variable is given in the conf file
Find a parameter name for the given model at index i used so we don ' t cause an error when doing processFits when no variable is given in the conf file
"""Find a parameter name for the given model at index i,
           used so we don't cause an error when doing processFits when no
           variable is given in the conf file"""
self
model
i