megies / obspyck

ObsPyck is a GUI application that is intended to cover the tasks in a standard analysis workflow for seismic events in seismological observatory practice.
https://github.com/megies/obspyck/wiki
GNU General Public License v2.0
61 stars 32 forks source link

Improve setting amplitude picks when loading stored event from QuakeML #102

Closed megies closed 1 year ago

megies commented 1 year ago

Without this, when loading an event from xml, amplitude picks are set on the raw and unfiltered data and thus usually not set very well. Currently only the time of the min and max of the peak to peak amplitude are stored in xml and when loading the event the amplitude value of the data at these times is taken, so the only real way to get amplitude picks right is when filter settings are the same at the time of picking and when loading the event again and when filter settings are respected during loading the event, which is what this commit does.