Ejemplo n.º 1
0
    def __init__(self, parent):
        """
        initialization
        """
        RietveldClass.__init__(self, parent)

        return
Ejemplo n.º 2
0
    def __init__(self, parent):
        """
        initialization
        """
        RietveldClass.__init__(self, parent)

        return
Ejemplo n.º 3
0
    def __init__(self, parent):
        """
        initialization

        parent: None of real parent class
        """
        RietveldClass.__init__(self, parent)

        return
Ejemplo n.º 4
0
    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
Ejemplo n.º 5
0
    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
Ejemplo n.º 6
0
    def __init__(self, parent):
        """
        initialization:
        """
        RietveldClass.__init__(self, parent)

        # initialize subclass-object
        operatorset = OperatorSet(self)
        self.set("OperatorSet", operatorset)

        # initialize attributes
        self._contributionlist = []

        return
Ejemplo n.º 7
0
    def __init__(self, parent):
        """
        initialization:
        """
        RietveldClass.__init__(self, parent)

        # initialize subclass-object
        operatorset = OperatorSet(self)
        self.set("OperatorSet", operatorset)

        # initialize attributes
        self._contributionlist = []

        return
Ejemplo n.º 8
0
    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
Ejemplo n.º 9
0
    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
Ejemplo n.º 10
0
    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
Ejemplo n.º 11
0
    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
Ejemplo n.º 12
0
    def __init__(self, Parent):
        RietveldClass.__init__(self, Parent)

        return
Ejemplo n.º 13
0
    def __init__(self, Parent):
        RietveldClass.__init__(self, Parent)

        return