def params_sm(self): return (ParamScalarDesc('a'), ParamScalarDesc('s'))
def params_sm(self): return (ParamScalarDesc('rt'), ParamScalarDesc('vt'), ParamScalarDesc('b'), ParamScalarDesc('g'))
def params_sm(self): return (ParamScalarDesc('vt'), )
def params_sm(self): if self._kwargs['rnodes']: return tuple() else: return tuple([ParamScalarDesc(p) for p in self._params])
def make_gmodel_3d_params(components, tcomponents, tauto): params, mappings = _make_gmodel_params_cmp(components, 'cmp', False) tparams, tmappings = _make_gmodel_params_cmp(tcomponents, 'tcmp', True) params.update(tparams) params.update(dict(tauto=ParamScalarDesc('tauto')) if tauto else {}) return params, mappings, tmappings
def _make_param_descs(key, nnodes, nw): return {key: ParamVectorDesc(key, nnodes) if nw else ParamScalarDesc(key)}