XmlMaterialProperty#
- class pyedb.xml_parser.xml_stackup.XmlMaterialProperty(/, **data: Any)#
Bases:
pydantic.BaseModelRepresents a material property value in the XML stackup.
A property is either a constant (
) or an equation (). Equations can depend on the frequency with theFreqvariable, expressed in Hz.
Overview#
Create a property from a number, a numeric string or an equation string. |
Constant value when defined, otherwise the equation. |
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict]. |
Import detail#
from pyedb.xml_parser.xml_stackup import XmlMaterialProperty
Property detail#
Attribute detail#
- XmlMaterialProperty.model_config#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Method detail#
- classmethod XmlMaterialProperty.from_value(value: float | str) XmlMaterialProperty#
Create a property from a number, a numeric string or an equation string.