CfgSpiceModels#

class pyedb.configuration.cfg_spice_models.CfgSpiceModels(pdata=None, data=None, path_lib=None)#

Collect SPICE model assignments for serialization.

Overview#

to_list

Serialize all SPICE models to a list of dictionaries.

add

Add a SPICE model assignment.

Import detail#

from pyedb.configuration.cfg_spice_models import CfgSpiceModels

Attribute detail#

CfgSpiceModels.path_libraries = None#
CfgSpiceModels.models#

Method detail#

CfgSpiceModels.to_list()#

Serialize all SPICE models to a list of dictionaries.

CfgSpiceModels.add(name: str, component_definition: str, file_path: str, sub_circuit_name: str = '', apply_to_all: bool = True, components=None, terminal_pairs=None)#

Add a SPICE model assignment.