compute_triangle_max_pgv

DelaunayDetector.compute_triangle_max_pgv(simp)[source]

Compute the maximal PGV values of a delaunay triangle.

The indices of :attr:simp are used to build the simplices keys using the station NSL codes. With these keys, the triangle edge lengths can be accessed.

For each triangle, the minimum time, that a seismic wave needs to pass the triangle is computed. This time is used for the lenght of the window used to compute the maximum PGV. The maximum PGV is computed for overlapping windows with a step of 1 second.

With this method, triangles with small edge lengths have a smaller time window and thus react quicker to changes of the PGV value.

Parameters

simp (tuple of int) – The simplices indices of the scipy.spatial.Delaunay simplices.

Returns

  • time (numpy.ndarray) – The time valus of the computed maximum PGV data.

  • pgv (numpy.ndarray) – The maximum PGV data.

  • simp_stations (list of Station) – The stations at the triangle corners.