User guide
Reference
full name: tenpy.tools.params.asConfig
parent module: tenpy.tools.params
tenpy.tools.params
type: function
Convert a dict-like config to a Config.
Config
config (dict | Config) – If this is a Config, just return it. Otherwise, create a Config from it and return that.
name (str) – Name to be used for the Config.
config – Either directly config or Config(config, name).
Config(config, name)