Package edu.sc.seis.TauP
Class PhaseName
java.lang.Object
edu.sc.seis.TauP.PhaseName
- All Implemented Interfaces:
java.io.Serializable
public class PhaseName
extends java.lang.Object
implements java.io.Serializable
Convenience class that allows sac header variables to be associated with a
seismic phase name.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
name
name of the phase, ie PKIKPint
sacTNum
sac t header to be associated with the phasejava.util.ArrayList<java.lang.Integer>
sacTNumTriplication
list of sac t headers to be associated with the phase, including n triplications -
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(PhaseName obj)
java.lang.String
getName()
int
sacTNumForTriplication(int index)
Gets sac header for the index triplication.java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
name
public java.lang.String namename of the phase, ie PKIKP -
sacTNum
public int sacTNumsac t header to be associated with the phase -
sacTNumTriplication
public java.util.ArrayList<java.lang.Integer> sacTNumTriplicationlist of sac t headers to be associated with the phase, including n triplications
-
-
Constructor Details
-
PhaseName
- Throws:
TauModelException
-
PhaseName
- Throws:
TauModelException
-
PhaseName
- Throws:
TauModelException
-
-
Method Details
-
equals
-
getName
public java.lang.String getName() -
sacTNumForTriplication
public int sacTNumForTriplication(int index)Gets sac header for the index triplication. Zero is the first arrival, 1 is next arrival, etc. Index zero should be same as this.sacTNum.- Parameters:
index
-- Returns:
- index arrival for the phase
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-