pingspice.lib.current.TempShort(Subcircuit, SwitchMixin)
class documentation
Part of pingspice.lib.current
(View In Hierarchy)
Logarithmic analog switch set to temporarily short out two nodes with a smooth transition between normal and shorted modes.
Method | setup | Subcircuit definition. |
Inherited from SwitchMixin:
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 |
Inherited from SwitchMixin:
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 |
Inherited from SwitchMixin:
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 |
Subcircuit definition.
Why use f? Because it's short and a conveniently typed letter on the keyboard.
Override this if your subclass does not reference a param.ParameterFinder
subclass via the Finder class attribute. As with Include.setup
,
your override method can return a dict of attribute names and values to set
in my instance.