|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.isti.util.ErrorMessageMgr
com.isti.jplotresp.FreqValuesSet
public class FreqValuesSet
Field Summary | |
---|---|
protected java.lang.String |
fileNameStr
Input file name. |
protected java.util.ArrayList |
freqValuesListObj
List of 'FreqValueBlk' objects. |
Constructor Summary | |
---|---|
FreqValuesSet(java.lang.String fileNameStr)
Creates a 'FreqValueBlk' objects set manager. |
Method Summary | |
---|---|
static AmpPhaseBlk[] |
buildAmpPhaseBlkArray(FreqValuesSet ampSetObj,
FreqValuesSet phaseSetObj)
Builds an array of 'AmpPhaseBlk' objects using the "value1" value from the given sets. |
boolean |
containsSecondValues()
Determines if the data held by this set contains "second" values (both amp & phase). |
AmpPhaseBlk[] |
createAmpPhaseBlkArray()
Builds an array of 'AmpPhaseBlk' objects using the data values from this set. |
double[] |
createFrequenciesArray()
Builds an array of frequency values using the frequency values from this set. |
FreqValueBlk |
getBlkAt(int idx)
Returns the 'FreqValueBlk' for the given index in this set. |
java.lang.String |
getFileNameStr()
Returns the file name for this manager. |
java.lang.String |
getIDFNameStr()
Returns the "ID" file name for this manager (the file name with any leading path characters removed). |
boolean |
isAmpFileName()
Determines if the filename for this set starts with "AMP". |
boolean |
isFreqArrayEqual(FreqValuesSet setObj)
Determines if the frequency array of the given set object is equal to the frequency array for this set object. |
boolean |
isFreqLogSpacing()
Determines if the frequency values held by this set are spaced logarithmically. |
boolean |
isPhaseFileName()
Determines if the filename for this set starts with "PHA". |
boolean |
readFileData()
Reads data in from the file named in the constructor. |
Methods inherited from class com.isti.util.ErrorMessageMgr |
---|
clearErrorMessageString, clearFetchedErrorMessage, enterErrorMessageString, getErrorMessageFlag, getErrorMessageString, getUnfetchedMessageFlag, setErrorMessageString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.lang.String fileNameStr
protected java.util.ArrayList freqValuesListObj
Constructor Detail |
---|
public FreqValuesSet(java.lang.String fileNameStr)
fileNameStr
- file name from which data will be read in (via
the 'readFileData()' method).Method Detail |
---|
public boolean readFileData()
public boolean isFreqArrayEqual(FreqValuesSet setObj)
setObj
- the 'FreqValuesSet' object to use.
public FreqValueBlk getBlkAt(int idx)
idx
- index value to use.
public double[] createFrequenciesArray()
public AmpPhaseBlk[] createAmpPhaseBlkArray()
public boolean containsSecondValues()
public boolean isFreqLogSpacing()
public boolean isAmpFileName()
public boolean isPhaseFileName()
public java.lang.String getFileNameStr()
public java.lang.String getIDFNameStr()
public static AmpPhaseBlk[] buildAmpPhaseBlkArray(FreqValuesSet ampSetObj, FreqValuesSet phaseSetObj)
ampSetObj
- set to use for "amp" values, or null for none.phaseSetObj
- set to use for "phase" values, or null for none.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |