mtuq.graphics.plot_beachball¶
- mtuq.graphics.plot_beachball(filename, mt, stations, origin, **kwargs)[source]¶
Plots focal mechanism and station locations
Required arguments
filename
(str): Name of output image filemt
(mtuq.MomentTensor): Moment tensor objectstations
(list of Station objects): Stations from which azimuths and takeoff angles are calculatedorigin
(mtuq.Origin): Origin objectOptional arguments
add_station_labels
(bool): Displays station namesadd_station_markers
(bool): Displays station markersfill_color
(str): Color used for beachballmarker_color
(str): Color used for station markerstaup_model
(str): Name of built-in ObsPy TauP model or path to custom ObsPy TauP model, used for takeoff angle calculations