edu.sc.seis.TauP
Class TauP_Curve
java.lang.Object
|
+--edu.sc.seis.TauP.TauP_Time
|
+--edu.sc.seis.TauP.TauP_Curve
- public class TauP_Curve
- extends TauP_Time
Calculates travel time curves
at known slowness samples.
Methods inherited from class edu.sc.seis.TauP.TauP_Time |
appendPhaseName, appendPhaseName, calcTime, clearArrivals, clearPhaseNames, depthCorrect, getArrival, getArrivals, getDisconDepths, getNumArrivals, getNumPhases, getPhaseNames, getPhaseNameString, getSourceDepth, getTauModel, getTauModelName, loadTauModel, parseDegreeList, parsePhaseList, printHelp, printResult, printStdUsageHead, recalcPhases, setPhaseNames, setPhaseNames, setSourceDepth, setTauModel, sortArrivals |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TauP_Curve
public TauP_Curve(TauModel tMod)
throws TauModelException
TauP_Curve
public TauP_Curve(java.lang.String modelName)
throws TauModelException
isGmtScript
public boolean isGmtScript()
setGmtScript
public void setGmtScript(boolean gmtScript)
isReduceTime
public boolean isReduceTime()
setReduceTime
public void setReduceTime(boolean reduceTime)
getReduceVelDeg
public double getReduceVelDeg()
setReduceVelDeg
public void setReduceVelDeg(double reduceVel)
- set the reducing velocity, in degrees/second. The internal
representation is radians/second.
getReduceVelKm
public double getReduceVelKm()
setReduceVelKm
public void setReduceVelKm(double reduceVel)
- set the reducing velocity, in kilometers/second. The internal
representation is radians/second.
calculate
public void calculate(double degrees)
- Overrides:
calculate
in class TauP_Time
init
public void init()
throws java.io.IOException
- Description copied from class:
TauP_Time
- preforms intialization of the tool. Properties are queried for
the the default model to load, source depth to use, phases to use,
etc. Note that because of the IO inherent in these operations, this
method is not appropriate for Applets. Applets should load
TauModels themselves and use the setTauModel(TauModel) method.
- Overrides:
init
in class TauP_Time
printStdUsage
public void printStdUsage()
- Description copied from class:
TauP_Time
- Prints the command line arguments common to all TauP tools.
- Overrides:
printStdUsage
in class TauP_Time
printStdUsageTail
public void printStdUsageTail()
- Overrides:
printStdUsageTail
in class TauP_Time
printUsage
public void printUsage()
- Overrides:
printUsage
in class TauP_Time
start
public void start()
throws java.io.IOException,
TauModelException
- Overrides:
start
in class TauP_Time
destroy
public void destroy()
throws java.io.IOException
- Overrides:
destroy
in class TauP_Time
printResult
public void printResult(java.io.Writer out)
throws java.io.IOException
- Overrides:
printResult
in class TauP_Time
parseCmdLineArgs
public java.lang.String[] parseCmdLineArgs(java.lang.String[] args)
throws java.io.IOException
main
public static void main(java.lang.String[] args)
throws java.io.FileNotFoundException,
java.io.IOException,
java.io.StreamCorruptedException,
java.lang.ClassNotFoundException,
java.io.OptionalDataException
- Allows TauP_Curve to run as an application. Creates an instance
of TauP_Curve.
.