|
|||||||||
| 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_Pierce
edu.sc.seis.TauP.TauP_Path
public class TauP_Path
Calculate travel paths for different phases using a linear interpolated ray parameter between known slowness samples.
| Field Summary | |
|---|---|
protected static Format |
float8_4
|
protected boolean |
gmtScript
|
protected float |
mapWidth
|
protected double |
maxPathInc
|
| Fields inherited from class edu.sc.seis.TauP.TauP_Pierce |
|---|
addDepth, onlyAddPoints, onlyRevPoints, onlyTurnPoints, onlyUnderPoints |
| Fields inherited from class edu.sc.seis.TauP.TauP_Time |
|---|
arrivals, azimuth, backAzimuth, DEBUG, degrees, depth, dos, eventLat, eventLon, GUI, modelName, onlyPrintRayP, onlyPrintTime, outFile, outForms, phaseNames, phases, stationLat, stationLon, tMod, tModDepth, toolProps, verbose |
| Constructor Summary | |
|---|---|
protected |
TauP_Path()
|
|
TauP_Path(java.lang.String modelName)
|
|
TauP_Path(java.lang.String modelName,
java.lang.String outFileBase)
|
|
TauP_Path(TauModel tMod)
|
|
TauP_Path(TauModel tMod,
java.lang.String outFileBase)
|
| Method Summary | |
|---|---|
void |
calcPath(double degrees)
|
void |
calculate(double degrees)
|
void |
destroy()
|
boolean |
getGmtScript()
|
float |
getMapWidth()
Gets the gmt map width to be used with the output script and for creating the circles for each discontinuity. |
double |
getMaxPathInc()
|
void |
init()
preforms intialization of the tool. |
static void |
main(java.lang.String[] args)
Allows TauP_Path to run as an application. |
java.lang.String[] |
parseCmdLineArgs(java.lang.String[] args)
|
protected void |
printLatLon(java.io.Writer out,
double calcDist)
|
void |
printResult(java.io.Writer out)
|
void |
printUsage()
prints the known command line flags. |
void |
setGmtScript(boolean gmtScript)
|
void |
setMapWidth()
Sets the gmt map width to be used with the output script and for creating the circles for each discontinuity. |
void |
setMaxPathInc(double maxPathInc)
|
void |
setOutFileBase(java.lang.String outFileBase)
Sets the output file base, appending ".gmt" for the filename. |
void |
start()
|
| Methods inherited from class edu.sc.seis.TauP.TauP_Pierce |
|---|
appendAddDepths, calcPierce, depthCorrect, isAddDepth, parseAddDepthsList, setAddDepths, setOnlyAddPoints, setOnlyRevPoints, setOnlyTurnPoints, setOnlyUnderPoints |
| Methods inherited from class edu.sc.seis.TauP.TauP_Time |
|---|
appendPhaseName, appendPhaseName, calcTime, clearArrivals, clearPhaseNames, getArrival, getArrivals, getDisconDepths, getNumArrivals, getNumPhases, getPhaseNames, getPhaseNames, getPhaseNameString, getSourceDepth, getTauModel, getTauModelName, loadTauModel, parseDegreeList, parsePhaseList, printHelp, printResult, printStdUsage, printStdUsageHead, printStdUsageTail, readPhaseFile, readTauModel, recalcPhases, setPhaseNames, setPhaseNames, setSourceDepth, setTauModel, sortArrivals |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected float mapWidth
protected boolean gmtScript
protected double maxPathInc
protected static Format float8_4
| Constructor Detail |
|---|
protected TauP_Path()
public TauP_Path(TauModel tMod)
throws TauModelException
TauModelException
public TauP_Path(java.lang.String modelName)
throws TauModelException
TauModelException
public TauP_Path(TauModel tMod,
java.lang.String outFileBase)
throws TauModelException
TauModelException
public TauP_Path(java.lang.String modelName,
java.lang.String outFileBase)
throws TauModelException
TauModelException| Method Detail |
|---|
public void setOutFileBase(java.lang.String outFileBase)
public void setMapWidth()
public float getMapWidth()
public boolean getGmtScript()
public void setGmtScript(boolean gmtScript)
public double getMaxPathInc()
public void setMaxPathInc(double maxPathInc)
public void calculate(double degrees)
throws TauModelException
calculate in class TauP_PierceTauModelExceptionpublic void calcPath(double degrees)
public void printResult(java.io.Writer out)
throws java.io.IOException
printResult in class TauP_Piercejava.io.IOException
protected void printLatLon(java.io.Writer out,
double calcDist)
throws java.io.IOException
java.io.IOException
public void init()
throws java.io.IOException
TauP_Time
init in class TauP_Timejava.io.IOExceptionpublic void printUsage()
TauP_Pierce
printUsage in class TauP_Pierce
public java.lang.String[] parseCmdLineArgs(java.lang.String[] args)
throws java.io.IOException
parseCmdLineArgs in class TauP_Piercejava.io.IOException
public void start()
throws java.io.IOException,
TauModelException,
TauPException
start in class TauP_Timejava.io.IOException
TauModelException
TauPException
public void destroy()
throws java.io.IOException
destroy in class TauP_Timejava.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 | ||||||||