|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.isti.jevalresp.Run
com.isti.jevalresp.RunDirect
public class RunDirect
Class RunDirect is an extension of 'Run' that supports input and output via method calls for the processing of a single response.
Field Summary | |
---|---|
static int |
ACCEL_UNIT_CONV
Unit conversion type index value for "acceleration" (3). |
static int |
DEFAULT_UNIT_CONV
Unit conversion type index value for "default" (0). |
static int |
DISPLACE_UNIT_CONV
Unit conversion type index value for "displacement" (1). |
static int |
VELOCITY_UNIT_CONV
Unit conversion type index value for "velocity" (2). |
Constructor Summary | |
---|---|
RunDirect()
|
Method Summary | |
---|---|
java.lang.Double |
getSingleResponseAmpVal(java.lang.String stationStr,
java.lang.String channelStr,
java.lang.String networkStr,
java.lang.String siteStr,
java.util.Date dateObj,
int outUnitsConvIdx,
java.lang.String fileNameParam,
double freqVal)
Finds and processes one response at a single frequency, returning the resulting amplitude value. |
java.lang.Double |
getSingleResponseAmpVal(java.lang.String stationStr,
java.lang.String channelStr,
java.lang.String networkStr,
java.lang.String siteStr,
java.util.Date dateObj,
int outUnitsConvIdx,
java.lang.String fileNameParam,
double freqVal,
int startStageNum,
int stopStageNum,
boolean stdioFlag)
Finds and processes one response at a single frequency, returning the resulting amplitude value. |
java.lang.Double |
getSingleResponseAmpVal(java.lang.String stationStr,
java.lang.String channelStr,
java.lang.String networkStr,
java.lang.String siteStr,
int yearVal,
int dayVal,
int outUnitsConvIdx,
java.lang.String fileNameParam,
double freqVal)
Finds and processes one response at a single frequency, returning the resulting amplitude value. |
static void |
main(java.lang.String[] args)
Test program. |
OutputGenerator |
processOneResponse(java.lang.String stationStr,
java.lang.String channelStr,
java.lang.String networkStr,
java.lang.String siteStr,
java.util.Date dateObj,
int outUnitsConvIdx,
java.lang.String fileNameParam,
double[] freqArr,
int startStageNum,
int stopStageNum,
boolean stdioFlag)
Finds and processes one response, returning the output in an 'OutputGenerator' object. |
OutputGenerator |
processOneResponse(java.lang.String stationStr,
java.lang.String channelStr,
java.lang.String networkStr,
java.lang.String siteStr,
java.util.Date dateObj,
int outUnitsConvIdx,
java.lang.String fileNameParam,
double[] freqArr,
int startStageNum,
int stopStageNum,
boolean useDelayFlag,
boolean listInterpOutFlag,
boolean listInterpInFlag,
double listInterpTension,
boolean stdioFlag)
Finds and processes one response, returning the output in an 'OutputGenerator' object. |
OutputGenerator |
processOneResponse(java.lang.String stationStr,
java.lang.String channelStr,
java.lang.String networkStr,
java.lang.String siteStr,
java.util.Date dateObj,
int outUnitsConvIdx,
java.lang.String fileNameParam,
double[] freqArr,
int startStageNum,
int stopStageNum,
boolean useDelayFlag,
boolean listInterpOutFlag,
boolean listInterpInFlag,
double listInterpTension,
boolean unwrapPhaseFlag,
boolean totalSensitFlag,
boolean stdioFlag)
Finds and processes one response, returning the output in an 'OutputGenerator' object. |
OutputGenerator |
processOneResponse(java.lang.String stationStr,
java.lang.String channelStr,
java.lang.String networkStr,
java.lang.String siteStr,
java.util.Date dateObj,
int outUnitsConvIdx,
java.lang.String fileNameParam,
double[] freqArr,
int startStageNum,
int stopStageNum,
boolean useDelayFlag,
boolean listInterpOutFlag,
boolean listInterpInFlag,
double listInterpTension,
boolean unwrapPhaseFlag,
boolean totalSensitFlag,
double b62XValue,
boolean stdioFlag)
Finds and processes one response, returning the output in an 'OutputGenerator' object. |
Methods inherited from class com.isti.jevalresp.Run |
---|
addTimeToCalendar, checkWebServicesServer, clearErrorMessage, enterStartStopStageNums, generateNetResponses, generateResponses, generateWebResponses, getConsoleOut, getErrorFlag, getErrorMessage, getExitStatusValue, listToStringArray, optionsArrToString, preprocessParameters, processAndOutput, processNonSwitchParams, processSwitchParams, setErr, setErrorMessage, unitInfoStr |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_UNIT_CONV
public static final int DISPLACE_UNIT_CONV
public static final int VELOCITY_UNIT_CONV
public static final int ACCEL_UNIT_CONV
Constructor Detail |
---|
public RunDirect()
Method Detail |
---|
public OutputGenerator processOneResponse(java.lang.String stationStr, java.lang.String channelStr, java.lang.String networkStr, java.lang.String siteStr, java.util.Date dateObj, int outUnitsConvIdx, java.lang.String fileNameParam, double[] freqArr, int startStageNum, int stopStageNum, boolean useDelayFlag, boolean listInterpOutFlag, boolean listInterpInFlag, double listInterpTension, boolean unwrapPhaseFlag, boolean totalSensitFlag, double b62XValue, boolean stdioFlag)
stationStr
- station name to search for, or a null or empty
string to accept all station names.channelStr
- channel name to search for, or a null or empty
string to accept all channel names.networkStr
- network name to search for, or a null or empty
string to accept all network names.siteStr
- site name to search for, or a null or empty string
to accept all site names.dateObj
- date to search for, or null to accept all dates.outUnitsConvIdx
- output units conversion index for the
requested output units type; one of the '..._UNIT_CONV' values.fileNameParam
- a specific filename (or directory) to use, or
a null or empty string for all matching files.freqArr
- an array of frequency values to use.startStageNum
- if greater than zero then the start of the
range of stage sequence numbers to use, otherwise all stages
are used.stopStageNum
- if greater than zero then the end of the
range of stage sequence numbers to use, otherwise only the single
stage specified by 'startStageNum' is used.useDelayFlag
- true to use estimated delay in phase calculation.listInterpOutFlag
- true to interpolate amp/phase output
from responses containing List blockettes.listInterpInFlag
- true to interpolate amp/phase input from
List blockettes in responses (before output is calculated).listInterpTension
- tension value for List-blockette
interpolation algorithm.unwrapPhaseFlag
- true to unwrap phase output values.totalSensitFlag
- true to use stage 0 (total) sensitivity;
false to use computed sensitivity.b62XValue
- sample value for polynomial blockette (62).stdioFlag
- true for input from 'stdin', false for input from
file.
public OutputGenerator processOneResponse(java.lang.String stationStr, java.lang.String channelStr, java.lang.String networkStr, java.lang.String siteStr, java.util.Date dateObj, int outUnitsConvIdx, java.lang.String fileNameParam, double[] freqArr, int startStageNum, int stopStageNum, boolean useDelayFlag, boolean listInterpOutFlag, boolean listInterpInFlag, double listInterpTension, boolean unwrapPhaseFlag, boolean totalSensitFlag, boolean stdioFlag)
stationStr
- station name to search for, or a null or empty
string to accept all station names.channelStr
- channel name to search for, or a null or empty
string to accept all channel names.networkStr
- network name to search for, or a null or empty
string to accept all network names.siteStr
- site name to search for, or a null or empty string
to accept all site names.dateObj
- date to search for, or null to accept all dates.outUnitsConvIdx
- output units conversion index for the
requested output units type; one of the '..._UNIT_CONV' values.fileNameParam
- a specific filename (or directory) to use, or
a null or empty string for all matching files.freqArr
- an array of frequency values to use.startStageNum
- if greater than zero then the start of the
range of stage sequence numbers to use, otherwise all stages
are used.stopStageNum
- if greater than zero then the end of the
range of stage sequence numbers to use, otherwise only the single
stage specified by 'startStageNum' is used.useDelayFlag
- true to use estimated delay in phase calculation.listInterpOutFlag
- true to interpolate amp/phase output
from responses containing List blockettes.listInterpInFlag
- true to interpolate amp/phase input from
List blockettes in responses (before output is calculated).listInterpTension
- tension value for List-blockette
interpolation algorithm.unwrapPhaseFlag
- true to unwrap phase output values.totalSensitFlag
- true to use stage 0 (total) sensitivity;
false to use computed sensitivity.stdioFlag
- true for input from 'stdin', false for input from
file.
public OutputGenerator processOneResponse(java.lang.String stationStr, java.lang.String channelStr, java.lang.String networkStr, java.lang.String siteStr, java.util.Date dateObj, int outUnitsConvIdx, java.lang.String fileNameParam, double[] freqArr, int startStageNum, int stopStageNum, boolean useDelayFlag, boolean listInterpOutFlag, boolean listInterpInFlag, double listInterpTension, boolean stdioFlag)
stationStr
- station name to search for, or a null or empty
string to accept all station names.channelStr
- channel name to search for, or a null or empty
string to accept all channel names.networkStr
- network name to search for, or a null or empty
string to accept all network names.siteStr
- site name to search for, or a null or empty string
to accept all site names.dateObj
- date to search for, or null to accept all dates.outUnitsConvIdx
- output units conversion index for the
requested output units type; one of the '..._UNIT_CONV' values.fileNameParam
- a specific filename (or directory) to use, or
a null or empty string for all matching files.freqArr
- an array of frequency values to use.startStageNum
- if greater than zero then the start of the
range of stage sequence numbers to use, otherwise all stages
are used.stopStageNum
- if greater than zero then the end of the
range of stage sequence numbers to use, otherwise only the single
stage specified by 'startStageNum' is used.useDelayFlag
- true to use estimated delay in phase calculation.listInterpOutFlag
- true to interpolate amp/phase output
from responses containing List blockettes.listInterpInFlag
- true to interpolate amp/phase input from
List blockettes in responses (before output is calculated).listInterpTension
- tension value for List-blockette
interpolation algorithm.stdioFlag
- true for input from 'stdin', false for input from
file.
public OutputGenerator processOneResponse(java.lang.String stationStr, java.lang.String channelStr, java.lang.String networkStr, java.lang.String siteStr, java.util.Date dateObj, int outUnitsConvIdx, java.lang.String fileNameParam, double[] freqArr, int startStageNum, int stopStageNum, boolean stdioFlag)
stationStr
- station name to search for, or a null or empty
string to accept all station names.channelStr
- channel name to search for, or a null or empty
string to accept all channel names.networkStr
- network name to search for, or a null or empty
string to accept all network names.siteStr
- site name to search for, or a null or empty string
to accept all site names.dateObj
- date to search for, or null to accept all dates.outUnitsConvIdx
- output units conversion index for the
requested output units type; one of the '..._UNIT_CONV' values.fileNameParam
- a specific filename (or directory) to use, or
a null or empty string for all matching files.freqArr
- an array of frequency values to use.startStageNum
- if greater than zero then the start of the
range of stage sequence numbers to use, otherwise all stages
are used.stopStageNum
- if greater than zero then the end of the
range of stage sequence numbers to use, otherwise only the single
stage specified by 'startStageNum' is used.stdioFlag
- true for input from 'stdin', false for input from
file.
public java.lang.Double getSingleResponseAmpVal(java.lang.String stationStr, java.lang.String channelStr, java.lang.String networkStr, java.lang.String siteStr, java.util.Date dateObj, int outUnitsConvIdx, java.lang.String fileNameParam, double freqVal, int startStageNum, int stopStageNum, boolean stdioFlag)
stationStr
- station name to search for, or a null or empty
string to accept all station names.channelStr
- channel name to search for, or a null or empty
string to accept all channel names.networkStr
- network name to search for, or a null or empty
string to accept all network names.siteStr
- site name to search for, or a null or empty string
to accept all site names.dateObj
- date to search for, or null to accept all dates.outUnitsConvIdx
- output units conversion index for the
requested output units type; one of the '..._UNIT_CONV' values.fileNameParam
- a specific filename (or directory) to use, or
a null or empty string for all matching files.freqVal
- frequency value to use.startStageNum
- if greater than zero then the start of the
range of stage sequence numbers to use, otherwise all stages
are used.stopStageNum
- if greater than zero then the end of the
range of stage sequence numbers to use, otherwise only the single
stage specified by 'startStageNum' is used.stdioFlag
- true for input from 'stdin', false for input from
file.
public java.lang.Double getSingleResponseAmpVal(java.lang.String stationStr, java.lang.String channelStr, java.lang.String networkStr, java.lang.String siteStr, java.util.Date dateObj, int outUnitsConvIdx, java.lang.String fileNameParam, double freqVal)
stationStr
- station name to search for, or a null or empty
string to accept all station names.channelStr
- channel name to search for, or a null or empty
string to accept all channel names.networkStr
- network name to search for, or a null or empty
string to accept all network names.siteStr
- site name to search for, or a null or empty string
to accept all site names.dateObj
- date to search for, or null to accept all dates.outUnitsConvIdx
- output units conversion index for the
requested output units type; one of the '..._UNIT_CONV' values.fileNameParam
- a specific filename (or directory) to use, or
a null or empty string for all matching files.freqVal
- frequency value to use.
public java.lang.Double getSingleResponseAmpVal(java.lang.String stationStr, java.lang.String channelStr, java.lang.String networkStr, java.lang.String siteStr, int yearVal, int dayVal, int outUnitsConvIdx, java.lang.String fileNameParam, double freqVal)
stationStr
- station name to search for, or a null or empty
string to accept all station names.channelStr
- channel name to search for, or a null or empty
string to accept all channel names.networkStr
- network name to search for, or a null or empty
string to accept all network names.siteStr
- site name to search for, or a null or empty string
to accept all site names.yearVal
- year to search for, or 0 to accept all dates.dayVal
- day-of-year to search for, or 0 for none.outUnitsConvIdx
- output units conversion index for the
requested output units type; one of the '..._UNIT_CONV' values.fileNameParam
- a specific filename (or directory) to use, or
a null or empty string for all matching files.freqVal
- frequency value to use.
public static void main(java.lang.String[] args)
args
- program arguments.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |