Package edu.sc.seis.TauP.cmdline
Class TauP_Beachball
java.lang.Object
edu.sc.seis.TauP.cmdline.TauP_Tool
edu.sc.seis.TauP.cmdline.TauP_AbstractPhaseTool
edu.sc.seis.TauP.cmdline.TauP_AbstractRayTool
edu.sc.seis.TauP.cmdline.TauP_Beachball
-
Field Summary
FieldsFields inherited from class edu.sc.seis.TauP.cmdline.TauP_AbstractRayTool
distanceArgsFields inherited from class edu.sc.seis.TauP.cmdline.TauP_AbstractPhaseTool
phaseNamesFields 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) calcArrivalsForSource(FaultPlane faultPlane, List<RayCalculateable> distanceValues) calcRadiationPattern(FaultPlane faultPlane, int num_pts, boolean lowerHemisphere) voiddestroy()voiddrawArrivalsSVG(PrintWriter writer, float scale, List<Arrival> arrivalList) voiddrawFaultsSVG(PrintWriter writer, FaultPlane faultPlane, float scale) voiddrawLabeledDot(PrintWriter writer, Vector z, float scale, String label, String cssclass, String tooltip) voiddrawPhasesSVG(PrintWriter writer, float scale, List<SeismicPhase> phaseList, BeachballType bbType) voiddrawPTNAxes(PrintWriter writer, FaultPlane faultPlane, float scale) voiddrawRadiationPatternSVG(PrintWriter writer, FaultPlane faultPlane, float scale, BeachballType bbType) voiddrawRadiationPatternSVGArrows(PrintWriter writer, FaultPlane faultPlane, float scale, BeachballType bbType) voidprintResult(PrintWriter out, List<Arrival> arrivalList) voidprintResult(PrintWriter out, List<Arrival> arrivalList, FaultPlane faultPlane) voidprintResultHtml(PrintWriter writer, FaultPlane faultPlane, List<Arrival> arrivalList) voidprintResultJson(PrintWriter writer, FaultPlane faultPlane, List<Arrival> arrivalList) voidprintResultSVG(PrintWriter writer, FaultPlane faultPlane, List<Arrival> arrivalList, BeachballType bbType) voidsetBeachballType(BeachballType beachballType) voidstart()voidMethods inherited from class edu.sc.seis.TauP.cmdline.TauP_AbstractRayTool
getDistanceArgs, getReceiverDepths, getSourceDepthsMethods inherited from class edu.sc.seis.TauP.cmdline.TauP_AbstractPhaseTool
appendPhaseName, appendPhaseName, calcSeismicPhases, calcSeismicPhases, clearPhaseNames, clearPhases, createTimeResult, getNumPhases, getPhaseArgs, getRadiusOfEarth, getScatterer, getScattererDepth, getSeismicPhases, getTauModelDepthCorrected, getTauModelName, init, parsePhaseNameList, setModelName, setPhaseNameList, setPhaseNames, setScatterer, setSingleReceiverDepth, setSingleSourceDepth, setTauModelMethods inherited from class edu.sc.seis.TauP.cmdline.TauP_Tool
call, configDefaults, getCmdLineArgs, getOutFileExtension, isDEBUG, isVerbose, setDEBUG, setOutFileBase, setOutFileExtension, setOutputFormat, setToolPropsFilename, setVerbose, toolNameFromClass
-
Field Details
-
withArrows
public boolean withArrows -
colorPhases
public boolean colorPhases
-
-
Constructor Details
-
TauP_Beachball
public TauP_Beachball() -
TauP_Beachball
-
-
Method Details
-
getOutputFormat
- Specified by:
getOutputFormatin classTauP_Tool
-
start
- Specified by:
startin classTauP_Tool- Throws:
IOExceptionTauPException
-
calcArrivalsForSource
public List<Arrival> calcArrivalsForSource(FaultPlane faultPlane, List<RayCalculateable> distanceValues) throws TauPException - Throws:
TauPException
-
destroy
- Specified by:
destroyin classTauP_Tool- Throws:
TauPException
-
validateArguments
- Overrides:
validateArgumentsin classTauP_AbstractRayTool- Throws:
TauPException
-
calcAll
public List<Arrival> calcAll(List<SeismicPhase> phaseList, List<RayCalculateable> shootables) throws TauPException - Specified by:
calcAllin classTauP_AbstractRayTool- Throws:
TauPException
-
calcRadiationPattern
public List<RadiationAmplitude> calcRadiationPattern(FaultPlane faultPlane, int num_pts, boolean lowerHemisphere) -
printResult
public void printResult(PrintWriter out, List<Arrival> arrivalList) throws IOException, TauPException - Specified by:
printResultin classTauP_AbstractRayTool- Throws:
IOExceptionTauPException
-
printResult
public void printResult(PrintWriter out, List<Arrival> arrivalList, FaultPlane faultPlane) throws IOException, TauPException - Throws:
IOExceptionTauPException
-
printResultSVG
public void printResultSVG(PrintWriter writer, FaultPlane faultPlane, List<Arrival> arrivalList, BeachballType bbType) throws TauPException - Throws:
TauPException
-
drawPhasesSVG
public void drawPhasesSVG(PrintWriter writer, float scale, List<SeismicPhase> phaseList, BeachballType bbType) -
drawArrivalsSVG
public void drawArrivalsSVG(PrintWriter writer, float scale, List<Arrival> arrivalList) throws SlownessModelException, TauModelException -
drawFaultsSVG
-
drawRadiationPatternSVG
public void drawRadiationPatternSVG(PrintWriter writer, FaultPlane faultPlane, float scale, BeachballType bbType) -
drawRadiationPatternSVGArrows
public void drawRadiationPatternSVGArrows(PrintWriter writer, FaultPlane faultPlane, float scale, BeachballType bbType) -
drawPTNAxes
-
drawLabeledDot
public void drawLabeledDot(PrintWriter writer, Vector z, float scale, String label, String cssclass, String tooltip) -
printResultHtml
public void printResultHtml(PrintWriter writer, FaultPlane faultPlane, List<Arrival> arrivalList) throws TauPException - Throws:
TauPException
-
printResultJson
public void printResultJson(PrintWriter writer, FaultPlane faultPlane, List<Arrival> arrivalList) throws TauPException - Throws:
TauPException
-
getBeachballType
-
setBeachballType
-