Model¶
-
class
model.
Model
(material=<model.material.Material object>, system=<model.system.System object>, root='')¶ Combines material properties with system parameters.
If, on instantiation,
model
orsystem
is a string, the associated object will be created from the YAML file, e.g.,Model('mos2', 'default', 'data')
will load the YAML files at
data/mos2.yml
anddata/default.yml
. Seeparameters.Parameters.load_file()
.
-
class
model.
Material
(path=None)¶ Material specific parameters.
Inherits from
parameters.Parameters
.
-
class
model.
System
(path=None)¶ System specific parameters.
Inherits from
parameters.Parameters
.