Version 2 (modified by KlausStammler, 4 years ago) (diff)


Return to command index

Theoretical Travel Times

command: TTT <method> <delta> <depth> [<phaselist>] [<outvar>]

Compute theoretical travel times. Implemented is currently obspy-taupy for teleseismic phases and a layer-over-halfspace model for local phases.


  • <method> parameter type: string
    Computation method. Possible is 'local' (for local phases) or 'taupi' (for teleseismic phases).
  • <delta> parameter type: float
    Epicentral distance in km ('local') or degrees ('taupi').
  • <depth> parameter type: float
    Source depth in km.
  • <phaselist> parameter type: string
    Comma separated list of phases to be computed. If necessary switch off the automatic cap conversion of the command parser ("switch capcnv off"). Default list for 'local' is 'Pg,Pn,Sg,Sn,PmP,SmS', for 'taupi' is defined in the obspy.taup.get_travel_times method.
  • <outvar> parameter type: string
    Output variable for travel times(s). Contains a single number (travel time in s) if only one phase in <phaselist> was specified. Otherwise a comma separated list of phasenames and travel times.


  • /MODEL
    Specify velocity model. For 'taupi' look at obspy taupy documentation for possible values. For 'local' specify a two layer velocity model (5 numbers: <vp1>,<vp2>,<vs1>,<vs2>,<d>; <vp1> = P velocity in upper layer, <vp2> = P velocity in lower layer (halfspace), <vs1> = S velocity in upper layer, <vs2> = S velocity in lower layer (halfspace), <d> = thickness of upper layer in km).


@TTT LOCAL 78. 10. Pg,Sg &G1
Compute Pg and Sg travel times for a local event in 78. km distance and 10. km depth, put the result into variable g1.