11.1.10.11.2. Server

This module provides an interface to run xyce and get back the simulation output.

class PySpice.Spice.Xyce.Server.XyceServer(**kwargs)[source]

Bases: object

This class wraps the execution of Xyce and convert the output to a Python data structure.

Example of usage:

spice_server = XyceServer(xyce_command='/path/to/Xyce')
raw_file = spice_server(spice_input)

It returns a PySpice.Spice.RawFile instance.

Default Xyce path is set in XyceServer.XYCE_COMMAND.