pingspice.circuit.wrappers.TABLE(PWL)
class documentation
Part of pingspice.circuit.wrappers
(View In Hierarchy)
TABLE: data grouped into X, Y pairs (§5.2.3).
Construct me with three arguments: (1) an expression whose value will determine the output, (2) a sequence or Numpy 1-D array of monotonically increasing X values, and (3) a sequence or Numpy 1-D array of Y values. Like this::
tableWrapper = Table("I(vs)", X, Y)
where:
X = np.array([0, 1.0, 1.5, 2.5]) Y = np.array([0, 0.5, 4.5, 5.0])
Passing this wrapper in an f call will result in this:
TABLE {I(vs)} = (0, 0) (1, 0.5) (1.5, 4.5) (2.5, 5.0)
Note: Wrappers are not sources! You use them as part of your arguments to construct sources.
Method | __call__ | Undocumented |
Inherited from Wrapper (via PWL):
Method | __init__ | Undocumented |
Method | __iter__ | You can iterate me over my arguments. |
Method | __str__ | Undocumented |
Method | argsToString | Undocumented |
Method | kwToString | Undocumented |
Inherited from Wrapper (via PWL):
Method | __init__ | Undocumented |
Method | __iter__ | You can iterate me over my arguments. |
Method | __str__ | Undocumented |
Method | argsToString | Undocumented |
Method | kwToString | Undocumented |