mttime.imaging.source.beach_map¶
-
beach_map
(m, event, longitude, latitude, distance, used, show, format)[source]¶ Plot beach ball on a map
Function to plot stations and focal mechanisms on a map.
- Parameters
m (list) – focal mechanism.
event (dict) – event origin time, longitude and latitude.
longitude (list or
ndarray
) – station longitudes.latitude (list or
ndarray
) – station latitudes.distance (list or
ndarray
) – source-receiver distance.used (list or
ndarray
) – inverted stations. Sets the station marker colors,True
for green andFalse
for gray.show (bool) – display image after plotting instead of saving it to file.
format (str) – figure file format.