Example #1
0
 def params_sm(self):
     return (ParamScalarDesc('a'), ParamScalarDesc('s'))
Example #2
0
 def params_sm(self):
     return (ParamScalarDesc('rt'), ParamScalarDesc('vt'),
             ParamScalarDesc('b'), ParamScalarDesc('g'))
Example #3
0
 def params_sm(self):
     return (ParamScalarDesc('vt'), )
Example #4
0
 def params_sm(self):
     if self._kwargs['rnodes']:
         return tuple()
     else:
         return tuple([ParamScalarDesc(p) for p in self._params])
Example #5
0
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
Example #6
0
def _make_param_descs(key, nnodes, nw):
    return {key: ParamVectorDesc(key, nnodes) if nw else ParamScalarDesc(key)}