pingspice.analysis.vectors.Vectors_File(VectorsBase)
class documentation
Part of pingspice.analysis.vectors
(View In Hierarchy)
I am a Vectors object whose values have been loaded from the
.npz
file specified by the sole constructor argument.
Presumably, the file was created by calling save
on an instance of a "live" Vectors_Ngspice
or Vectors_Python
object.
Method | __init__ | Undocumented |
Method | copy | Undocumented |
Inherited from VectorsBase:
Method | nm 0 | Property: My NameManager ,
newly constructed if I did't have one yet. |
Method | nm 1 | Undocumented |
Method | nm | Undocumented |
Method | __contains__ | Dict-like access to my values: Whether name is included. |
Method | __len__ | Dict-like access to my values: The number of vectors and perhaps
+1 for a None entry. |
Method | __iter__ | Dict-like access to my values: Iterates over vector names plus
perhaps None for a psim.Analyzer
instance. |
Method | __getitem__ | Dict-like access to my values, with scaling done from unity
except for a None item, which is an SSE from a psim.Analyzer
instance. |
Method | __setitem__ | Replace the existing numpy vector specified by name with another. |
Method | __getattr__ | A value can be accessed as an attribute if it has an attribute-friendly name. |
Method | avg | Returns the time-weighted average value of my vector name, given my time vector. |
Method | error | Call this with something to tell me that I've had an error, or with nothing to find out if I've had an error. |
Method | setValue | Sets entry cname in my values dict to x, or to its absolute value if cname is an absolute value vector. |
Method | array | Returns my data as a 2-D Numpy array, with each of my values
(except a None entry) appearing as a column vector. |
Method | save | Saves my current contents to a .npz file at the specified
filePath, with any home directory symbol ("~")
expanded. |
Method | trimmedCopy | Returns a copy of me, trimmed to omit values from TIME < tMin and from TIME > tMax. |