triqs.gfs.gf.call_factory_from_dict

triqs.gfs.gf.call_factory_from_dict(cl, name, dic)[source]

Factory used by HDF5 IO.

Forwards to cl.__factory_from_dict__(name, dic); this indirection keeps the registration record picklable.

Parameters:
cltype

Target class to instantiate.

namestr

Name passed through to the factory.

dicdict

Payload deserialised from HDF5.

Returns:
object

Instance of cl built from dic.