obspy.taup.velocity_model.VelocityModel.__init__

VelocityModel.__init__(model_name, radius_of_planet, min_radius, max_radius, moho_depth, cmb_depth, iocb_depth, is_spherical, layers=None)[source]

Object for storing a seismic planet model.

Parameters:
  • model_name (str) name of the velocity model.
  • radius_of_planet (float) reference radius (km), usually radius of the planet.
  • min_radius (float) Minimum radius of the model (km).
  • max_radius (float) Maximum radius of the model (km).
  • moho_depth (float) Depth (km) of the Moho. It can be input from velocity model (*.nd) or should be explicitly set. For phase naming, the tau model will choose the closest first order discontinuity.
  • cmb_depth (float) Depth (km) of the CMB (core mantle boundary). It can be input from velocity model (*.nd) or should be explicitly set.
  • iocb_depth (float) Depth (km) of the IOCB (inner core-outer core boundary). It can be input from velocity model (*.nd) or should be explicitly set.
  • is_spherical (bool) Is this a spherical model? Defaults to true.
  • layers (list) The layers of the model.