CfgPackage#
- class pyedb.configuration.cfg_package_definition.CfgPackage(/, **data: Any)#
Bases:
pyedb.configuration.cfg_common.CfgBaseModelConfiguration package class.
Overview#
Return dict of non-null/non-protected attributes (CfgBase compatibility). |
|
Set non-protected attributes onto pedb_object (CfgBase compatibility). |
|
Attach heat-sink fin geometry to this package definition. |
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict]. |
|
Import detail#
from pyedb.configuration.cfg_package_definition import CfgPackage
Attribute detail#
- CfgPackage.model_config#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- CfgPackage.heatsink: CfgHeatSink | None = None#
Method detail#
- CfgPackage.get_attributes(exclude=None)#
Return dict of non-null/non-protected attributes (CfgBase compatibility).
- CfgPackage.set_attributes(pedb_object)#
Set non-protected attributes onto pedb_object (CfgBase compatibility).
- CfgPackage.set_heatsink(fin_base_height=None, fin_height=None, fin_orientation=None, fin_spacing=None, fin_thickness=None)#
Attach heat-sink fin geometry to this package definition.
- Parameters:
- fin_base_height
str,optional Base height of the fin array, e.g.
"0.5mm".- fin_height
str,optional Fin height, e.g.
"3mm".- fin_orientation
str,optional Fin orientation:
"x_oriented"or"y_oriented".- fin_spacing
str,optional Centre-to-centre fin spacing, e.g.
"1mm".- fin_thickness
str,optional Fin thickness, e.g.
"0.2mm".
- fin_base_height
- Returns:
CfgHeatSinkThe newly created heat-sink object.
Examples
>>> pkg.set_heatsink( ... fin_base_height="0.5mm", ... fin_height="3mm", ... fin_orientation="x_oriented", ... fin_spacing="1mm", ... fin_thickness="0.2mm", ... )