|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.simulation.Analysis<AnalogSignal>
com.sun.electric.tool.simulation.AnalogAnalysis
public class AnalogAnalysis
Analysis which contains analog signals
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.electric.tool.simulation.Analysis |
---|
Analysis.AnalysisType |
Field Summary |
---|
Fields inherited from class com.sun.electric.tool.simulation.Analysis |
---|
ANALYSIS_AC, ANALYSIS_DC, ANALYSIS_MEAS, ANALYSIS_SIGNALS, ANALYSIS_TRANS |
Constructor Summary | |
---|---|
AnalogAnalysis(Stimuli sd,
Analysis.AnalysisType type)
|
Method Summary | |
---|---|
AnalogSignal |
addSignal(java.lang.String signalName,
java.lang.String signalContext,
double[] values)
Create new AnalogSignal with specified name. |
AnalogSignal |
addSignal(java.lang.String signalName,
java.lang.String signalContext,
double minTime,
double maxTime,
double minValue,
double maxValue)
Create new AnalogSignal with specified name. |
void |
addSweep(java.lang.Object obj)
Method to add information about another sweep in this simulation data. |
void |
buildCommonTime(int numEvents)
Method to construct an array of time values that are common to all signals. |
void |
finished()
Free allocated resources before closing. |
double[] |
getCommonTimeArray()
Method to get the array of time entries for this signal. |
int |
getNumSweeps()
Method to return the number of sweep objects in this simulation data. |
java.lang.Object |
getSweep(int i)
Method to return sweep object in a given position. |
Waveform |
getWaveform(AnalogSignal signal,
int sweep)
Method to return the waveform of specified signal in specified sweep. |
boolean |
isAnalog()
Method to tell whether this simulation data is analog or digital. |
protected Waveform[] |
loadWaveforms(AnalogSignal signal)
|
void |
setCommonTime(int index,
double time)
Method to load an entry in the common time array. |
Methods inherited from class com.sun.electric.tool.simulation.Analysis |
---|
addSignal, findSignalForNetwork, findSignalForNetworkQuickly, getAnalysisType, getBounds, getLeftEdge, getRightEdge, getSignals, getStimuli, nameSignal, setBoundsDirty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnalogAnalysis(Stimuli sd, Analysis.AnalysisType type)
Method Detail |
---|
public void finished()
finished
in class Analysis<AnalogSignal>
public boolean isAnalog()
Analysis
isAnalog
in class Analysis<AnalogSignal>
public void addSweep(java.lang.Object obj)
obj
- sweep information (typically a Double).public int getNumSweeps()
public java.lang.Object getSweep(int i)
i
- the position to get.
public void buildCommonTime(int numEvents)
numEvents
- the number of time events in the common time array.public void setCommonTime(int index, double time)
index
- the entry number.time
- the time value atpublic double[] getCommonTimeArray()
public AnalogSignal addSignal(java.lang.String signalName, java.lang.String signalContext, double[] values)
signalName
- signal name.signalContext
- a common prefix for the signal name.values
- specified values
public AnalogSignal addSignal(java.lang.String signalName, java.lang.String signalContext, double minTime, double maxTime, double minValue, double maxValue)
signalName
- signal name.signalContext
- a common prefix for the signal name.minValue
- the minimum value.maxValue
- the maximum value.
public Waveform getWaveform(AnalogSignal signal, int sweep)
signal
- specified signalsweep
- sweep index
protected Waveform[] loadWaveforms(AnalogSignal signal)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |