def __init__(self, parent): """ initialization """ RietveldClass.__init__(self, parent) return
def __init__(self, parent): """ initialization parent: None of real parent class """ RietveldClass.__init__(self, parent) return
def __init__(self, parent, nbas): """ initialization """ RietveldClass.__init__(self, parent) for i in xrange(0, nbas): param_name = "Ireps"+str(i) self.ParamDict[param_name] = IntInfo(param_name, "real/pure imaginary BSF coefficient flags"+str(i), 0) self.__dict__[param_name] = self.ParamDict[param_name].get("Default") return
def __init__(self, Parent, order=None, value=None): """ initialization order: polynomial order value: Bkgd """ RietveldClass.__init__(self, Parent) if order is not None: self.set("order", order) if value is not None: self.set("Bkgd", value) return
def __init__(self, parent): """ initialization: """ RietveldClass.__init__(self, parent) # initialize subclass-object operatorset = OperatorSet(self) self.set("OperatorSet", operatorset) # initialize attributes self._contributionlist = [] return
def __init__(self, parent, nbas): """ initialization """ RietveldClass.__init__(self, parent) for i in xrange(0, nbas): param_name = "Ireps" + str(i) self.ParamDict[param_name] = IntInfo( param_name, "real/pure imaginary BSF coefficient flags" + str(i), 0) self.__dict__[param_name] = self.ParamDict[param_name].get( "Default") return
def __init__(self, Parent): RietveldClass.__init__(self, Parent) """ init subclass """ background = Background(None) self.set("Background", background) lpfactor = LPFactor(None) self.set("LPFactor", lpfactor) # init attributes self._contributionlist = [] self._reflections = {} return
def __init__(self, parent): """ initialization: add a new Fit, and create the refine object belonged to this fit object """ RietveldClass.__init__(self, parent) # init refine refineobj = Refine(None) self.set("Refine", refineobj) # bank information: This is for some specific pattern data such as ".gss" with different bank self.banklist = [] # internal data self.key = '' self._param_indices = {} self.updateParamIndices(self._param_indices) return
def __init__(self, Parent): RietveldClass.__init__(self, Parent) return