Package edu.sc.seis.TauP
Class Outputs
java.lang.Object
edu.sc.seis.TauP.Outputs
Outputs.java contains formating, similar to printf, routines for the output
types in the TauP package.
Created: Tue Sep 21 11:45:35 1999
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigure(Properties props) static StringformatAmpFactor(double ampFactor) static StringformatDepth(double depth) static StringformatDepthNoPad(double depth) static StringformatDistance(double distance) static StringformatDistanceNoPad(double distance) static StringformatDpDdeg(double dpddeg) static StringformatKilometer(double kilometers) static StringformatLatLon(double latlon) static StringformatRayParam(double rayParam) static StringformatStringForAxisType(AxisType axisType) static StringformatStringForAxisType(ModelAxisType axisType) static StringformatStringForAxisType(ReflTransAxisType axisType) static StringformatStringForAxisType(String axisType) Gets appropriate format spec for a given data type.static StringformatTime(double time) static StringformatTimeNoPad(double time) static StringformatVelocity(double velocity)
-
Field Details
-
locale
-
depthFormat
-
depthFormatNoPad
-
distanceFormat
-
timeFormat
-
distanceFormatNoPad
-
velocityFormat
-
timeFormatNoPad
-
rayParamFormat
-
dpddegFormat
-
latLonFormat
-
ampFactorFormat
-
-
Constructor Details
-
Outputs
public Outputs()
-
-
Method Details
-
configure
-
formatStringForAxisType
Gets appropriate format spec for a given data type. Usually one of ModelAxisType or AxisType.- Parameters:
axisType- data type- Returns:
- output format like %3.2f for use in formatting floats
-
formatStringForAxisType
-
formatStringForAxisType
-
formatStringForAxisType
-
formatDepth
-
formatDepthNoPad
-
formatVelocity
-
formatDistance
-
formatKilometer
-
formatTime
-
formatDistanceNoPad
-
formatTimeNoPad
-
formatRayParam
-
formatDpDdeg
-
formatLatLon
-
formatAmpFactor
-