com.isti.jevalresp
Class RespArraysInfo

java.lang.Object
  extended by com.isti.jevalresp.RespArraysInfo

public class RespArraysInfo
extends java.lang.Object

Class RespArraysInfo contains arrays and other information for a response or one stage of a response.


Field Summary
 AmpPhaseBlk[] ampPhaseArray
          Handle to array of amplitude/phase values for response.
 ComplexBlk[] cSpectraArray
          Array of complex-spectra values for response.
 double[] frequencyArr
          Array of corresponding frequency values.
 java.lang.String identifyStr
          Identification string for response information.
 
Constructor Summary
RespArraysInfo(ComplexBlk[] cSpectraArray, double[] frequencyArr, java.lang.String identifyStr)
          Creates a response arrays/information object.
RespArraysInfo(ComplexBlk[] cSpectraArray, double[] frequencyArr, java.lang.String identifyStr, AmpPhaseBlk[] ampPhaseArray)
          Creates a response arrays/information object.
RespArraysInfo(int cSpectraArrayLen, double[] frequencyArr, java.lang.String identifyStr)
          Creates a response arrays/information object.
RespArraysInfo(int cSpectraArrayLen, double[] frequencyArr, java.lang.String identifyStr, AmpPhaseBlk[] ampPhaseArray)
          Creates a response arrays/information object.
 
Method Summary
 void enterCSpectraVal(int idx, ComplexBlk cBlkObj)
          Enters the given value into the array of complex-spectra values for the response.
 void setAmpPhaseArray(AmpPhaseBlk[] ampPhaArr)
          Enters the given array as the amp/phase array for this object.
 void setAmpPhaseArray(double[] ampArr, double[] phaArr)
          Enters the given arrays to be the amp/phase array for this object.
 void setFrequencyArray(double[] freqArr)
          Enters the given array as the frequency array for this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cSpectraArray

public final ComplexBlk[] cSpectraArray
Array of complex-spectra values for response.


frequencyArr

public double[] frequencyArr
Array of corresponding frequency values.


identifyStr

public final java.lang.String identifyStr
Identification string for response information.


ampPhaseArray

public AmpPhaseBlk[] ampPhaseArray
Handle to array of amplitude/phase values for response.

Constructor Detail

RespArraysInfo

public RespArraysInfo(int cSpectraArrayLen,
                      double[] frequencyArr,
                      java.lang.String identifyStr,
                      AmpPhaseBlk[] ampPhaseArray)
Creates a response arrays/information object.

Parameters:
cSpectraArrayLen - length of array of complex-spectra values for response.
frequencyArr - array of corresponding frequency values.
identifyStr - identification string for response.
ampPhaseArray - array of amplitude/phase values for response.

RespArraysInfo

public RespArraysInfo(int cSpectraArrayLen,
                      double[] frequencyArr,
                      java.lang.String identifyStr)
Creates a response arrays/information object.

Parameters:
cSpectraArrayLen - length of array of complex-spectra values for response.
frequencyArr - array of corresponding frequency values.
identifyStr - identification string for response.

RespArraysInfo

public RespArraysInfo(ComplexBlk[] cSpectraArray,
                      double[] frequencyArr,
                      java.lang.String identifyStr,
                      AmpPhaseBlk[] ampPhaseArray)
Creates a response arrays/information object.

Parameters:
cSpectraArray - array of complex-spectra values for response.
frequencyArr - array of corresponding frequency values.
identifyStr - identification string for response.
ampPhaseArray - array of amplitude/phase values for response.

RespArraysInfo

public RespArraysInfo(ComplexBlk[] cSpectraArray,
                      double[] frequencyArr,
                      java.lang.String identifyStr)
Creates a response arrays/information object.

Parameters:
cSpectraArray - array of complex-spectra values for response.
frequencyArr - array of corresponding frequency values.
identifyStr - identification string for response.
Method Detail

enterCSpectraVal

public void enterCSpectraVal(int idx,
                             ComplexBlk cBlkObj)
Enters the given value into the array of complex-spectra values for the response. The values from the given 'ComplexBlk' object are copied into a new 'ComplexBlk' object which is then entered into the array.

Parameters:
idx - the array index value to use.
cBlkObj - the 'ComplexBlk' object from which to take the values.

setFrequencyArray

public void setFrequencyArray(double[] freqArr)
Enters the given array as the frequency array for this object.

Parameters:
freqArr - frequency array to be entered.

setAmpPhaseArray

public void setAmpPhaseArray(AmpPhaseBlk[] ampPhaArr)
Enters the given array as the amp/phase array for this object.

Parameters:
ampPhaArr - amp/phase array to be entered.

setAmpPhaseArray

public void setAmpPhaseArray(double[] ampArr,
                             double[] phaArr)
Enters the given arrays to be the amp/phase array for this object.

Parameters:
ampArr - amplitude array to be entered.
phaArr - phase array to be entered.