MaterialsDB Class¶
- class plask.material.MaterialsDB¶
Container of all materials
Methods¶
|
|
|
Clear the database. |
|
Get material of given name and doping. |
|
Get information dictionary on built-in material. |
|
Return |
|
Get material with constant parameters specified as kwargs |
|
Remove material of given name and doping from database. |
|
Update the database from a different one. |
Descriptions¶
Method Details¶
- MaterialsDB.clear()¶
Clear the database.
- MaterialsDB.info(name)¶
Get information dictionary on built-in material.
- Parameters:
name (str) – material name without doping amount and composition. (e.g. ‘GaAs:Si’, ‘AlGaAs’).
- MaterialsDB.is_alloy(name)¶
Return
True
if the specified material is an alloy one.- Parameters:
name (str) – material name without doping amount and composition. (e.g. ‘GaAs:Si’, ‘AlGaAs’).
- MaterialsDB.material_with_params(*args, **kwargs)¶
Get material with constant parameters specified as kwargs
- Return type:
- MaterialsDB.remove(name)¶
Remove material of given name and doping from database.
- Parameters:
name (str) – material name without doping amount and composition. (e.g. ‘GaAs:Si’, ‘AlGaAs’).
- MaterialsDB.update(src)¶
Update the database from a different one.
- Parameters:
src – Source database.