Plotting the events (arrival times) on the actual seismograms

Hi all,

I have a python list of arrival times (both P and S wave arrivals) from a machine learning model for arrival picks. How do I plot these arrival times in the actual seismograms (arrival times and the corresponding seismogram in one plot). Any suggestions?

Thanks

You might try some code like this - to use it directly your picks would need to be part of an obspy Event. Otherwise you could try adapting that code to plot your picks in whatever format you have them.

1 Like

I tried another way and is solved

Thank you Calum for your support. It really helped!

Hi, can you please share me the code you used?