adjtomo / pysep

Seismogram Extraction and Processing: Seismic data retrieval and record sections
https://pysep.readthedocs.io
MIT License
29 stars 15 forks source link

adds ability to plot misfit windows and read ASDFDataSets #136

Closed bch0w closed 8 months ago

bch0w commented 8 months ago

This PR adds some features to improve integration of PySEP with the other adjTomo tools (SeisFlows and Pyatoa).

1) RecSec ability to plot misfit windows as rectangles over record sections, windows must be input as a dictionary of list of tuples where the keys are trace IDs and the tuple values are start and end time of the windows, in seconds, e.g.,

{"NN.SSS.LL.CCC": (0, 100)}

2) Ability to read streams and windows from ASDFDataSets so that they may be plotted with RecSec. These datasets are the outputs of SeisFlows + Pyaflowa inversions and contain additional Pyatoa auxiliary data that is required for plotting.