pingspice.analysis.plot.Data(object)
class documentation
Part of pingspice.analysis.plot
(View In Hierarchy)
Method | __init__ | Data(logValues) |
Method | setup | Sets up my instance with data from a new Run object
run. |
Method | getValue | With a analysis.sim.Vectors instance and a vector
name, returns the simulation vector, log-transformed if the name is
in my Plotter
object's logValues set. |
Method | getLimits | Returns a 1-D Numpy array of indices for items in the supplied vector X that are inside or just a little bit outside the limits specified with Xmin and Xmax. |
Method | maybeNegative | Returns the sign of name with its sign character "-" (if any) stripped off. |
Method | vector | Returns a subset of items of the simulation vector with the specified name. |
Method | goal | Returns a subset of items of the column vector in my goal array X for the current run corresponding to the specified name, with items (optionally) selected by index array K. |
Sets up my instance with data from a new Run
object
run.
Returns the length of the column vectors in my X goals array. (Not the number of columns.)
With a analysis.sim.Vectors
instance and a vector
name, returns the simulation vector, log-transformed if the name is
in my Plotter
object's logValues set.
With a 2-D goal points array, a vector name, and a column index
k, returns a 1-D array of goal points for that vector. No log
transformation is done because analysis.param.Setups
does that
at the outset when preparing its X array.
Parameters | k | Set to the index of a column of the container (only for an array) to select just a single column vector. |
Returns a 1-D Numpy array of indices for items in the supplied vector X that are inside or just a little bit outside the limits specified with Xmin and Xmax.
Returns the sign of name with its sign character "-" (if any) stripped off.
Returns a subset of items of the simulation vector with the specified name.
If an index array K is supplied, selects the subset of the vector with those indices.
If name is preceded by a "-" character, the values will be inverted, i.e., negated.
Returns a subset of items of the column vector in my goal array X for the current run corresponding to the specified name, with items (optionally) selected by index array K.
The name is looked up in my nameList for the current run and the position where the name appears is used as the column index.