def __init__(self, value=0, min=None, max=None, vary=False,
                 name=None, expr=None, stderr=None, correl=None,
                 units=None, decimals=5, _larch=None, **kws):
        self._val = self._initval = value
        self._uval = None
        self.vary = vary
        self.min = min
        self.max = max
        self.name = name
        self._expr = expr
        self.stderr = stderr
        self.correl = correl
        self.units = units
        self.decimals = decimals
        self._ast = None
        self._larch = None
        self._from_internal = lambda val: val
        if (hasattr(_larch, 'run') and
            hasattr(_larch, 'parse') and
            hasattr(_larch, 'symtable')):
            self._larch = _larch
        #if self._larch is not None and name is not None:
        #    self._larch.symtable.set_symbol(name, self)
dataset/ETHPy150Open xraypy/xraylarch/lib/fitting/parameter.py/Parameter.__init__/original