Instance Variable R_off Resistance in OFF state. Typically very high.
Instance Variable R_on Resistance in ON state. Typically very low, but can't be any lower than 1 mOhm (1E-3 Ohms).
Instance Variable log Set True to use log transition between resistance states instead of linear.
Instance Variable initially_on Set True if the switch goes from R_off resistance to R_on. Otherwise, it starts out with R_on resistance.
Method asModel Returns an XSPICE analog switch model with the supplied prefix.
Method st_vctl Undocumented
Class Method _nodes Undocumented
R_off =
Resistance in OFF state. Typically very high.
R_on =
Resistance in ON state. Typically very low, but can't be any lower than 1 mOhm (1E-3 Ohms).
log =
Set True to use log transition between resistance states instead of linear.
initially_on =
Set True if the switch goes from R_off resistance to R_on. Otherwise, it starts out with R_on resistance.
@classmethod
def _nodes(cls, N):
Undocumented
def asModel(self, f, prefix):

Returns an XSPICE analog switch model with the supplied prefix.

If you try to set my R_on on-resistance below 1 mOhm, an exception is raised because the XSPICE model quietly refuses to use anything lower than that.

def st_vctl(self, f, tr, tstart=0, tw=None):
Undocumented
API Documentation for pingspice, generated by pydoctor at 2021-09-18 08:41:11.