pingspice.analysis.sim.AC(Analyzer)
class documentation
Part of pingspice.analysis.sim
(View In Hierarchy)
I initiate and handle the results of all Ngspice AC runs for one Ngspice process. Include the Ngspice arguments for an AC sweep as additional arguments.
There are exactly four of them: (1) a string 'dec', 'oct', or 'lin' specifying sweep type, (2) an int specifying the number of points per decade, per octave, or total, (3) the starting frequency in Hz, and (4) the end frequency in Hz. Here are the possible call patterns:
AC(r, ID, vectorNames, avList, 'dec', Nd, fstart, fstop) AC(r, ID, vectorNames, avList, 'oct', No, fstart, fstop) AC(r, ID, vectorNames, avList, 'lin', Np, fstart, fstop) AC(r, vectorNames, 'dec', Nd, fstart, fstop) AC(r, vectorNames, 'oct', No, fstart, fstop) AC(r, vectorNames, 'lin', Np, fstart, fstop)
You'll need to have set the AC value of one (and preferably just one) independent source to use me.
Method | customize | Sets parameters for AC analysis of all runs to follow. |
Inherited from AV_ListHolder (via Analyzer, AnalyzerBase):
Method | params | Property: A list of the AV objects in my avList that are parameters. |
Method | avListSorted | Property: A copy of my avList, sorted by each AV object's dmpLabel . If
I have no avList for some reason, returns an empty list. |
Method | __len__ | My length is the number of parameter AV objects in my avList. |
Method | getValuesIndexFor | Returns the index in each values list supplied to my __call__
method at which the one and only parameter AV object is found having the
same name as the supplied av. |
Method | checkValues | Checks the supplied list of values to ensure that I have a parameter AV object for every one, and no parameter AV objects not accounted for. |
Method | alterations | Performs component and device parameter alterations based on the supplied list of parameter values, using the two callables supplied as additional arguments. |
Inherited from AV_ListHolder (via Analyzer, AnalyzerBase):
Method | params | Property: A list of the AV objects in my avList that are parameters. |
Method | avListSorted | Property: A copy of my avList, sorted by each AV object's dmpLabel . If
I have no avList for some reason, returns an empty list. |
Method | __len__ | My length is the number of parameter AV objects in my avList. |
Method | getValuesIndexFor | Returns the index in each values list supplied to my __call__
method at which the one and only parameter AV object is found having the
same name as the supplied av. |
Method | checkValues | Checks the supplied list of values to ensure that I have a parameter AV object for every one, and no parameter AV objects not accounted for. |
Method | alterations | Performs component and device parameter alterations based on the supplied list of parameter values, using the two callables supplied as additional arguments. |
Inherited from AV_ListHolder (via Analyzer, AnalyzerBase):
Method | params | Property: A list of the AV objects in my avList that are parameters. |
Method | avListSorted | Property: A copy of my avList, sorted by each AV object's dmpLabel . If
I have no avList for some reason, returns an empty list. |
Method | __len__ | My length is the number of parameter AV objects in my avList. |
Method | getValuesIndexFor | Returns the index in each values list supplied to my __call__
method at which the one and only parameter AV object is found having the
same name as the supplied av. |
Method | checkValues | Checks the supplied list of values to ensure that I have a parameter AV object for every one, and no parameter AV objects not accounted for. |
Method | alterations | Performs component and device parameter alterations based on the supplied list of parameter values, using the two callables supplied as additional arguments. |