|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sc.seis.TauP.TauP_Time
edu.sc.seis.TauP.TauP_Curve
public class TauP_Curve
Calculates travel time curves at known slowness samples.
Field Summary | |
---|---|
protected boolean |
gmtScript
should the output file be a compete script? |
protected float |
mapWidth
|
protected boolean |
reduceTime
should the output times use a reducing velocity? |
protected double |
reduceVel
the reducing velocity to use if reduceTime == true, in units of radians/second . |
protected java.lang.String |
redVelString
|
Fields inherited from class edu.sc.seis.TauP.TauP_Time |
---|
arrivals, azimuth, backAzimuth, DEBUG, degrees, depth, dos, eventLat, eventLon, expert, GUI, modelName, onlyPrintRayP, onlyPrintTime, outFile, outForms, phaseNames, phases, relativeArrival, relativePhaseName, stationLat, stationLon, tMod, tModDepth, toolProps, verbose |
Constructor Summary | |
---|---|
protected |
TauP_Curve()
|
|
TauP_Curve(java.lang.String modelName)
|
|
TauP_Curve(TauModel tMod)
|
Method Summary | |
---|---|
protected double[] |
calcTimeValue(double distRadian,
double time,
java.util.List<SeismicPhase> relPhase)
|
void |
calculate(double degrees)
|
protected void |
checkBoundary(double boundaryDistRadian,
int distIndex,
SeismicPhase phase,
java.util.List<SeismicPhase> relPhase,
java.io.Writer out)
|
void |
destroy()
|
float |
getMapWidth()
Gets the gmt map width to be used with the output script and for creating the circles for each discontinuity. |
double |
getReduceVelDeg()
|
double |
getReduceVelKm()
|
void |
init()
preforms intialization of the tool. |
static boolean |
isBetween(double a,
double b,
double value)
|
boolean |
isGmtScript()
|
boolean |
isReduceTime()
|
static void |
main(java.lang.String[] args)
Allows TauP_Curve to run as an application. |
java.lang.String[] |
parseCmdLineArgs(java.lang.String[] args)
|
void |
printResult(java.io.Writer out)
|
void |
printStdUsage()
Prints the command line arguments common to all TauP tools. |
void |
printStdUsageTail()
|
void |
printUsage()
|
void |
setGmtScript(boolean gmtScript)
|
void |
setMapWidth(float mapWidth)
Sets the gmt map width to be used with the output script and for creating the circles for each discontinuity. |
void |
setReduceTime(boolean reduceTime)
|
void |
setReduceVelDeg(double reduceVel)
set the reducing velocity, in degrees/second. |
void |
setReduceVelKm(double reduceVel)
set the reducing velocity, in kilometers/second. |
void |
start()
|
void |
writeValue(double distRadian,
double time,
java.util.List<SeismicPhase> relPhase,
java.io.Writer out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean gmtScript
protected boolean reduceTime
protected double reduceVel
protected java.lang.String redVelString
protected float mapWidth
Constructor Detail |
---|
protected TauP_Curve()
public TauP_Curve(TauModel tMod) throws TauModelException
TauModelException
public TauP_Curve(java.lang.String modelName) throws TauModelException
TauModelException
Method Detail |
---|
public boolean isGmtScript()
public void setGmtScript(boolean gmtScript)
public boolean isReduceTime()
public void setReduceTime(boolean reduceTime)
public double getReduceVelDeg()
public void setReduceVelDeg(double reduceVel)
public double getReduceVelKm()
public void setReduceVelKm(double reduceVel)
public void setMapWidth(float mapWidth)
public float getMapWidth()
public void calculate(double degrees)
calculate
in class TauP_Time
public void init() throws java.io.IOException
TauP_Time
init
in class TauP_Time
java.io.IOException
public void printStdUsage()
TauP_Time
printStdUsage
in class TauP_Time
public void printStdUsageTail()
printStdUsageTail
in class TauP_Time
public void printUsage()
printUsage
in class TauP_Time
public void start() throws java.io.IOException, TauModelException
start
in class TauP_Time
java.io.IOException
TauModelException
public void destroy() throws java.io.IOException
destroy
in class TauP_Time
java.io.IOException
public void printResult(java.io.Writer out) throws java.io.IOException
printResult
in class TauP_Time
java.io.IOException
protected void checkBoundary(double boundaryDistRadian, int distIndex, SeismicPhase phase, java.util.List<SeismicPhase> relPhase, java.io.Writer out) throws java.io.IOException
java.io.IOException
protected double[] calcTimeValue(double distRadian, double time, java.util.List<SeismicPhase> relPhase) throws java.io.IOException
java.io.IOException
public void writeValue(double distRadian, double time, java.util.List<SeismicPhase> relPhase, java.io.Writer out) throws java.io.IOException
java.io.IOException
public static final boolean isBetween(double a, double b, double value)
public java.lang.String[] parseCmdLineArgs(java.lang.String[] args) throws java.io.IOException
parseCmdLineArgs
in class TauP_Time
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.FileNotFoundException, java.io.IOException, java.io.StreamCorruptedException, java.lang.ClassNotFoundException, java.io.OptionalDataException
java.io.FileNotFoundException
java.io.IOException
java.io.StreamCorruptedException
java.lang.ClassNotFoundException
java.io.OptionalDataException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |