Package edu.sc.seis.TauP
Class TauP_WKBJ
- java.lang.Object
-
- edu.sc.seis.TauP.TauP_Tool
-
- edu.sc.seis.TauP.TauP_Time
-
- edu.sc.seis.TauP.TauP_WKBJ
-
public class TauP_WKBJ extends TauP_Time
-
-
Field Summary
Fields Modifier and Type Field Description protected doubledeltaTdeltaT of the seismogram, default is .05 which gives 20 sps.protected intnumSamplesnumber of samples in the seismogram.protected doublestartTimestart time of the seismogram relative to the origin time.-
Fields inherited from class edu.sc.seis.TauP.TauP_Time
arrivals, azimuth, backAzimuth, DEFAULT_PHASES, degreesList, depth, distKilometersList, eventLat, eventLon, GUI, modelName, onlyFirst, onlyPrintRayP, onlyPrintTime, phaseNames, receiverDepth, relativePhaseName, scattererDepth, scattererDistDeg, shootRayp, stationLat, stationLon, takeoffAngle, tMod, tModDepth
-
Fields inherited from class edu.sc.seis.TauP.TauP_Tool
cmdLineArgs, CSV, DEBUG, GMT, JSON, outFileBase, outForms, outputFormat, SVG, TEXT, toolProps, verbose, writer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Arrival>calcEventStation(java.lang.Double[] evloc, java.util.List<java.lang.Double[]> staloc)java.util.List<Arrival>calculate(java.util.List<java.lang.Double> degreesList)java.util.List<Arrival>calcWKBJ(java.util.List<java.lang.Double> degreesList)doublegetDeltaT()Get the value of deltaT.intgetNumSamples()Get the value of numSamples.doublegetStartTime()Get the value of startTime.voidsetDeltaT(double v)Set the value of deltaT.voidsetNumSamples(int v)Set the value of numSamples.voidsetStartTime(double v)Set the value of startTime.-
Methods inherited from class edu.sc.seis.TauP.TauP_Time
allowedOutputFormats, appendPhaseName, appendPhaseName, calcRayParameter, calcRayParameter, calcRayParameterSDeg, calcTakeoff, calcTakeoff, calcTime, calcTime, calculate, calculateRelativeArrival, clearArrivals, clearPhaseNames, clearPhases, depthCorrect, depthCorrect, depthCorrect, depthCorrect, destroy, extractPhaseNames, getArrival, getArrivals, getDisconDepths, getDistanceUsage, getLimitUsage, getNumArrivals, getNumPhases, getPhaseNames, getPhaseNames, getPhaseNameString, getPhaseUsage, getReceiverDepth, getScattererDepth, getScattererDistDeg, getSeismicPhases, getSourceDepth, getStdUsage, getStdUsageHead, getTauModel, getTauModelDepthCorrected, getTauModelName, getUsage, init, linearInterp, loadTauModel, main, parseCmdLineArgs, parseDegreeList, parsePhaseList, parseSourceModelCmdLineArgs, printHelp, printResult, printResultJSON, printResultText, readPhaseFile, readTauModel, recalcPhases, resultAsJSON, resultAsJSONObject, setDefaultOutputFormat, setEventLatLon, setPhaseNames, setPhaseNames, setReceiverDepth, setScatterer, setScattererDepth, setScattererDistDeg, setSourceDepth, setStationLatLon, setTauModel, sortArrivals, splitPhaseNameList, start, validateArguments, writeJSON, writeJSON
-
Methods inherited from class edu.sc.seis.TauP.TauP_Tool
closeWriter, configDefaults, dashEquals, endGmtAndCleanUp, getModDepthUsage, getOutFile, getOutFileBase, getOutFileExtension, getOutputFormat, getStdUsageHead, getStdUsageTail, getWriter, parseCommonCmdLineArgs, printNoComprendoArgs, printScriptBeginning, printUsage, setOutFileBase, setOutFileExtension, setOutputFormat, setWriter, toolNameFromClass
-
-
-
-
Field Detail
-
deltaT
protected double deltaT
deltaT of the seismogram, default is .05 which gives 20 sps.
-
numSamples
protected int numSamples
number of samples in the seismogram. Default is 100.
-
startTime
protected double startTime
start time of the seismogram relative to the origin time. default is 0.
-
-
Constructor Detail
-
TauP_WKBJ
public TauP_WKBJ()
-
TauP_WKBJ
public TauP_WKBJ(TauModel tMod) throws TauModelException
- Throws:
TauModelException
-
TauP_WKBJ
public TauP_WKBJ(java.lang.String modelName) throws TauModelException- Throws:
TauModelException
-
-
Method Detail
-
getDeltaT
public double getDeltaT()
Get the value of deltaT.- Returns:
- Value of deltaT.
-
setDeltaT
public void setDeltaT(double v)
Set the value of deltaT.- Parameters:
v- Value to assign to deltaT.
-
getNumSamples
public int getNumSamples()
Get the value of numSamples.- Returns:
- Value of numSamples.
-
setNumSamples
public void setNumSamples(int v)
Set the value of numSamples.- Parameters:
v- Value to assign to numSamples.
-
getStartTime
public double getStartTime()
Get the value of startTime.- Returns:
- Value of startTime.
-
setStartTime
public void setStartTime(double v)
Set the value of startTime.- Parameters:
v- Value to assign to startTime.
-
calculate
public java.util.List<Arrival> calculate(java.util.List<java.lang.Double> degreesList) throws TauPException
- Overrides:
calculatein classTauP_Time- Throws:
TauPException
-
calcEventStation
public java.util.List<Arrival> calcEventStation(java.lang.Double[] evloc, java.util.List<java.lang.Double[]> staloc) throws TauPException
- Overrides:
calcEventStationin classTauP_Time- Throws:
TauPException
-
calcWKBJ
public java.util.List<Arrival> calcWKBJ(java.util.List<java.lang.Double> degreesList) throws TauPException, java.io.IOException
- Throws:
TauPExceptionjava.io.IOException
-
-