Package edu.sc.seis.TauP.cmdline
Class TauP_Table
java.lang.Object
edu.sc.seis.TauP.cmdline.TauP_Tool
edu.sc.seis.TauP.cmdline.TauP_Table
Creates a table of travel times for a phase. Only uses the first arrival at
any distance.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected double[]protected double[]protected GeoDistTypeprotected Stringprotected booleanFields inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
ABREV_SYNOPSIS, abstractOutputTypeArgs, OPTIONS_HEADING, toolProps -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalcAll(List<SeismicPhase> phaseList, List<RayCalculateable> shootables) protected voidcsvTable(PrintWriter out, TauModel tMod, List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, List<RayCalculateable> rayCalcList) voiddestroy()protected voidgenericTable(PrintWriter out, TauModel tMod, List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, List<RayCalculateable> rayCalcList) protected voidhtmlTable(PrintWriter out, TauModel tMod, List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, List<RayCalculateable> rayCalcList) voidinit()protected voidjsonTable(PrintWriter out, TauModel tMod, List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, List<RayCalculateable> rayCalcList) protected voidlocsatTable(PrintWriter out, TauModel tMod, List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, List<RayCalculateable> rayCalcList) protected List<SeismicPhase>recalcPhases(TauModel tMod, List<PhaseName> phaseNames, double depth, double receiverDepth, Scatterer scatterer) voidsetGeoDistTypes(GeoDistType geoDistType) voidsetHeaderFile(String headerFile) voidstart()voidMethods inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
call, configDefaults, getCmdLineArgs, isDEBUG, isVerbose, setDEBUG, setOutFileBase, setOutFileExtension, setOutputFormat, setToolPropsFilename, setVerbose, toolNameFromClass
-
Field Details
-
headerFile
-
depths
protected double[] depths -
distances
protected double[] distances -
withDerivative
protected boolean withDerivative -
geoDistType
-
-
Constructor Details
-
TauP_Table
public TauP_Table()
-
-
Method Details
-
getOutputFormat
- Specified by:
getOutputFormatin classTauP_Tool
-
init
- Specified by:
initin classTauP_Tool- Throws:
TauPException
-
start
- Specified by:
startin classTauP_Tool- Throws:
TauPExceptionIOException
-
destroy
- Specified by:
destroyin classTauP_Tool- Throws:
TauPException
-
validateArguments
- Specified by:
validateArgumentsin classTauP_Tool- Throws:
TauPException
-
getOutFileExtension
- Overrides:
getOutFileExtensionin classTauP_Tool
-
calcAll
public List<Arrival> calcAll(List<SeismicPhase> phaseList, List<RayCalculateable> shootables) throws TauPException - Throws:
TauPException
-
jsonTable
protected void jsonTable(PrintWriter out, TauModel tMod, List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, List<RayCalculateable> rayCalcList) throws TauPException - Throws:
TauPException
-
recalcPhases
protected List<SeismicPhase> recalcPhases(TauModel tMod, List<PhaseName> phaseNames, double depth, double receiverDepth, Scatterer scatterer) throws TauModelException - Throws:
TauModelException
-
csvTable
protected void csvTable(PrintWriter out, TauModel tMod, List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, List<RayCalculateable> rayCalcList) throws TauPException - Throws:
TauPException
-
htmlTable
protected void htmlTable(PrintWriter out, TauModel tMod, List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, List<RayCalculateable> rayCalcList) throws TauPException - Throws:
TauPException
-
genericTable
protected void genericTable(PrintWriter out, TauModel tMod, List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, List<RayCalculateable> rayCalcList) throws TauPException - Throws:
TauPException
-
locsatTable
protected void locsatTable(PrintWriter out, TauModel tMod, List<PhaseName> phaseNames, double[] depths, double receiverDepth, Scatterer scatterer, List<RayCalculateable> rayCalcList) throws TauPException - Throws:
TauPException
-
getHeaderFile
-
setHeaderFile
-
setGeoDistTypes
-
getGeoDistType
-