:class:`XmlMaterial` ==================== .. py:class:: pyedb.xml_parser.xml_stackup.XmlMaterial(/, **data: Any) Bases: :py:obj:`pydantic.BaseModel` Represents a material definition in the XML stackup. :Parameters: **name** : :class:`python:str` Name of the material. **permittivity** : :obj:`XmlMaterialProperty`, :obj:`optional` Relative permittivity (dielectric constant). The default is ``None``. **permeability** : :obj:`XmlMaterialProperty`, :obj:`optional` Relative permeability. The default is ``None``. **conductivity** : :obj:`XmlMaterialProperty`, :obj:`optional` Electrical conductivity in S/m. The default is ``None``. **dielectric_loss_tangent** : :obj:`XmlMaterialProperty`, :obj:`optional` Dielectric loss tangent. The default is ``None``. **magnetic_loss_tangent** : :obj:`XmlMaterialProperty`, :obj:`optional` Magnetic loss tangent. The default is ``None``. .. !! processed by numpydoc !! .. py:currentmodule:: XmlMaterial Overview -------- .. tab-set:: .. tab-item:: Attributes .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~name` - * - :py:attr:`~permittivity` - * - :py:attr:`~permeability` - * - :py:attr:`~conductivity` - * - :py:attr:`~dielectric_loss_tangent` - * - :py:attr:`~magnetic_loss_tangent` - * - :py:attr:`~model_config` - Configuration for the model, should be a dictionary conforming to [`ConfigDict`][pydantic.config.ConfigDict]. Import detail ------------- .. code-block:: python from pyedb.xml_parser.xml_stackup import XmlMaterial Attribute detail ---------------- .. py:attribute:: name :type: str :value: None .. py:attribute:: permittivity :type: XmlMaterialProperty | None :value: None .. py:attribute:: permeability :type: XmlMaterialProperty | None :value: None .. py:attribute:: conductivity :type: XmlMaterialProperty | None :value: None .. py:attribute:: dielectric_loss_tangent :type: XmlMaterialProperty | None :value: None .. py:attribute:: magnetic_loss_tangent :type: XmlMaterialProperty | None :value: None .. py:attribute:: model_config Configuration for the model, should be a dictionary conforming to [`ConfigDict`][pydantic.config.ConfigDict]. .. !! processed by numpydoc !!