obspy.taup.taup_geo.add_geo_to_arrivals

add_geo_to_arrivals(arrivals, source_latitude_in_deg, source_longitude_in_deg, receiver_latitude_in_deg, receiver_longitude_in_deg, radius_of_planet_in_km, flattening_of_planet)[source]

Add geographical information to arrivals.

Parameters:
  • arrivals Set of taup arrivals
  • source_latitude_in_deg (float) Source location latitude in degrees
  • source_longitude_in_deg (float) Source location longitude in degrees
  • receiver_latitude_in_deg (float) Receiver location latitude in degrees
  • receiver_longitude_in_deg (float) Receiver location longitude in degrees
  • radius_of_planet_in_km (float) Radius of the planet in km
  • flattening_of_planet Flattening of planet (0 for a sphere)
Type:

Arrivals

Returns:

List of Arrival objects, each of which has the time, corresponding phase name, ray parameter, takeoff angle, etc. as attributes.

Return type:

Arrivals