def Point(*args, **kwargs):
 model = modelcontext(kwargs.pop('model', None))
 args = list(args)
 try:
  d = dict(*args, **kwargs)
 except Exception as e:
  raise TypeError("can't turn {} and {} into a dict. {}".format(args, kwargs, e))
 return dict(((str(k), np.array(v)) for (k, v) in d.items() if (str(k) in map(str, model.vars))))

def Point ( * args , ** kwargs ) : model = modelcontext ( kwargs . pop ( 'model' , None ) ) args = list ( args ) try : d = dict ( * args , ** kwargs ) except Exception as e : raise TypeError ( "can't turn {} and {} into a dict. {}" . format ( args , kwargs , e ) ) return dict ( ( ( str ( k ) , np . array ( v ) ) for ( k , v ) in d . items ( ) if ( str ( k ) in map ( str , model . vars ) ) ) )
build a point .