def __init__(self, n, z, independent_vars=['v', 'temp'],
                 param_names=['v0', 'gamma0', 'a', 'b', 'theta0'],
                 prefix='', missing=None, name=None, **kwargs):
        """
        :param n: number of elements in a chemical formula
        :param z: number of formula unit in a unit cell
        :param independent_vars: define independent variables for lmfit
            unit-cell volume in A^3 and temperature in K
        :param param_names: define parameter names, v0, gamma0, a, b, theta0
        :param prefix: see lmfit
        :param missing: see lmfit
        :param name: see lmfit
        :param kwargs: see lmfit
        """
        kwargs.update({'prefix': prefix, 'missing': missing,
                       'independent_vars': independent_vars,
                       'param_names': param_names})
        super(TangeModel, self).__init__(tange_pth, n=n, z=z, **kwargs)
        self.set_param_hint('v0', min=0.)
        self.set_param_hint('gamma0', min=0.)
        self.set_param_hint('a')
        self.set_param_hint('b')
        self.set_param_hint('theta0', min=0.)
def __init__ ( self , n , z , independent_vars = [ 'v' , 'temp' ] , param_names = [ 'v0' , 'gamma0' , 'a' , 'b' , 'theta0' ] , prefix = '' , missing = None , name = None , ** kwargs ) : kwargs . update ( { 'prefix' : prefix , 'missing' : missing , 'independent_vars' : independent_vars , 'param_names' : param_names } ) super ( TangeModel , self ) . __init__ ( tange_pth , n = n , z = z , ** kwargs ) self . set_param_hint ( 'v0' , min = 0. ) self . set_param_hint ( 'gamma0' , min = 0. ) self . set_param_hint ( 'a' ) self . set_param_hint ( 'b' ) self . set_param_hint ( 'theta0' , min = 0. )
:param n: number of elements in a chemical formula
        :param z: number of formula unit in a unit cell
        :param independent_vars: define independent variables for lmfit
            unit-cell volume in A^3 and temperature in K
        :param param_names: define parameter names, v0, gamma0, a, b, theta0
        :param prefix: see lmfit
        :param missing: see lmfit
        :param name: see lmfit
        :param kwargs: see lmfit