def __init__(self, name): Observable.__init__(self) Configurable.__init__(self) validateName(name) self.name = name self._parameters = OrderedDict() self.__managed = [] self._manage(self._parameters) return
def __init__(self): """Initialize the attributes.""" Observable.__init__(self) self._xobs = None self._yobs = None self._dyobs = None self.xpar = Parameter("x") self.ypar = Parameter("y") self.dypar = Parameter("dy") self.ycpar = Parameter("ycalc") self.meta = {} # Observable self.xpar.addObserver(self._flush) self.ypar.addObserver(self._flush) self.dypar.addObserver(self._flush) return
def __init__(self, name = None): """Initialization.""" Observable.__init__(self) self.name = name return
def __init__(self, name=None): """Initialization.""" Observable.__init__(self) self.name = name return