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 file

mt (mtuq.MomentTensor): Moment tensor object

stations (list of Station objects): Stations from which azimuths and takeoff angles are calculated

origin (mtuq.Origin): Origin object

Optional arguments

add_station_labels (bool): Displays station names

add_station_markers (bool): Displays station markers

fill_color (str): Color used for beachball

marker_color (str): Color used for station markers

taup_model (str): Name of built-in ObsPy TauP model or path to custom ObsPy TauP model, used for takeoff angle calculations