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) createTextLegendLines(BeachBall beachBall) voiddestroy()voiddrawArrivalsSVG(PrintWriter writer, List<Arrival> arrivalList, float iconSize, float R, float pixelWidth, SvgEarthScaling earthScaling) voiddrawFaultsSVG(PrintWriter writer, FaultPlane faultPlane, float R, SvgEarthScaling earthScaling) voiddrawPhasesSVG(PrintWriter writer, List<SeismicPhase> phaseList, BeachballType bbType, float iconSize, float R, float pixelWidth, SvgEarthScaling earthScaling) voiddrawPTNAxes(PrintWriter writer, FaultPlane faultPlane, float iconSize, float R, float pixelWidth, SvgEarthScaling earthScaling) voiddrawRadiationPatternSVG(PrintWriter writer, FaultPlane faultPlane, BeachballType bbType, float R, float pixelWidth, SvgEarthScaling earthScaling) voiddrawRadiationPatternSVGArrows(PrintWriter writer, FaultPlane faultPlane, BeachballType bbType, float R, float pixelWidth, SvgEarthScaling earthScaling) voidprintResult(PrintWriter writer, Collection<FaultPlane> uniqFaultPlaneList, List<RayCalculateable> distanceValues, List<Arrival> arrivalList, List<BeachBall> beachBalls) voidprintResultHtml(PrintWriter writer, Collection<FaultPlane> uniqFaultPlaneList, List<RayCalculateable> distanceValues, List<Arrival> arrivalList, List<BeachBall> beachBalls) voidprintResultJson(PrintWriter writer, Collection<FaultPlane> uniqFaultPlaneList, List<RayCalculateable> distanceValues, List<Arrival> arrivalList, List<BeachBall> beachBalls) voidprintResultSVG(PrintWriter writer, BeachBall beachBall, LegendArgs legendArgs) voidsetBeachballType(List<BeachballType> beachballType) voidsetHemisphereType(HemisphereType hemisphereType) 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 -
phasesCircles
public boolean phasesCircles
-
-
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 writer, Collection<FaultPlane> uniqFaultPlaneList, List<RayCalculateable> distanceValues, List<Arrival> arrivalList, List<BeachBall> beachBalls) throws TauPException - Throws:
TauPException
-
printResultSVG
public void printResultSVG(PrintWriter writer, BeachBall beachBall, LegendArgs legendArgs) throws TauPException - Throws:
TauPException
-
drawPhasesSVG
public void drawPhasesSVG(PrintWriter writer, List<SeismicPhase> phaseList, BeachballType bbType, float iconSize, float R, float pixelWidth, SvgEarthScaling earthScaling) -
drawArrivalsSVG
public void drawArrivalsSVG(PrintWriter writer, List<Arrival> arrivalList, float iconSize, float R, float pixelWidth, SvgEarthScaling earthScaling) throws SlownessModelException, TauModelException -
drawFaultsSVG
public void drawFaultsSVG(PrintWriter writer, FaultPlane faultPlane, float R, SvgEarthScaling earthScaling) -
drawRadiationPatternSVG
public void drawRadiationPatternSVG(PrintWriter writer, FaultPlane faultPlane, BeachballType bbType, float R, float pixelWidth, SvgEarthScaling earthScaling) -
drawRadiationPatternSVGArrows
public void drawRadiationPatternSVGArrows(PrintWriter writer, FaultPlane faultPlane, BeachballType bbType, float R, float pixelWidth, SvgEarthScaling earthScaling) -
drawPTNAxes
public void drawPTNAxes(PrintWriter writer, FaultPlane faultPlane, float iconSize, float R, float pixelWidth, SvgEarthScaling earthScaling) -
createTextLegendLines
-
printResultHtml
public void printResultHtml(PrintWriter writer, Collection<FaultPlane> uniqFaultPlaneList, List<RayCalculateable> distanceValues, List<Arrival> arrivalList, List<BeachBall> beachBalls) throws TauPException - Throws:
TauPException
-
printResultJson
public void printResultJson(PrintWriter writer, Collection<FaultPlane> uniqFaultPlaneList, List<RayCalculateable> distanceValues, List<Arrival> arrivalList, List<BeachBall> beachBalls) throws TauPException - Throws:
TauPException
-
getBeachballType
-
setBeachballType
-
setHemisphereType
-