Class SeismicNamingLayers

java.lang.Object
edu.sc.seis.TauP.SeismicNamingLayers

public class SeismicNamingLayers extends Object
  • Constructor Details

    • SeismicNamingLayers

      public SeismicNamingLayers(TauModel tMod)
  • Method Details

    • legCharForBranch

      public String 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.
      Parameters:
      branchNum - branch number
      isPWave - true if P wave
      isDowngoing - 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 number
      isPWave - true if P wave
      layerPropogationType - up, down, head, etc
      endAction - 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

      public List<Integer> rangeForBranchNum(int branchNum)
      Gets [top, bot] for range containing the given branchNum, with top <= branchNum <= bot.
      Parameters:
      branchNum - search for number
      Returns:
      range that include brnachNum