Package edu.sc.seis.TauP
Class SeismicNamingLayers
java.lang.Object
edu.sc.seis.TauP.SeismicNamingLayers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdisconBranchAbove(int branchNum) intdisconBranchBelow(int branchNum) legCharForBranch(int branchNum, boolean isPWave, boolean isDowngoing) Gets the leg name character, like P, K or I or y for a branch, depending on P vs S and up vs downgoing.legNameForTauBranch(int branchNum, boolean isPWave, LayerPropogationType layerPropogationType, PhaseInteraction endAction) Gets the leg name, like Ped, p, K or I or y for a branch, depending on P vs S and up vs downgoing.rangeForBranchNum(int branchNum) Gets [top, bot] for range containing the given branchNum, with top <= branchNum <= bot.
-
Constructor Details
-
SeismicNamingLayers
-
-
Method Details
-
legCharForBranch
Gets the leg name character, like P, K or I or y for a branch, depending on P vs S and up vs downgoing.- Parameters:
branchNum- branch numberisPWave- true if P waveisDowngoing- true if downgoing- Returns:
- leg char
-
legNameForTauBranch
public String legNameForTauBranch(int branchNum, boolean isPWave, LayerPropogationType layerPropogationType, PhaseInteraction endAction) Gets the leg name, like Ped, p, K or I or y for a branch, depending on P vs S and up vs downgoing.- Parameters:
branchNum- branch numberisPWave- true if P wavelayerPropogationType- up, down, head, etcendAction- end action for branch, ed not appended to TURN- Returns:
- leg name
-
disconBranchAbove
public int disconBranchAbove(int branchNum) -
disconBranchBelow
public int disconBranchBelow(int branchNum) -
rangeForBranchNum
Gets [top, bot] for range containing the given branchNum, with top <= branchNum <= bot.- Parameters:
branchNum- search for number- Returns:
- range that include brnachNum
-