Use LSData class
This MR implements a new class, LSData, which takes care of the following:
- Attaching
azimuth,back_azimuth, anddistancerelative to the event location totr.stats - Rotating data into ZRT (it does this smartly, and checks all supposed ENZ components for correct orientation using IRIS metadata, issuing a warning if a bad orientation is found) — see
_rotate_to_rtz()inlsdata.py - Response removal to displacement (optional)
- Basic station map plot
- Basic waveform plot, with optional preview filtering
The LSForce object now takes an LSData object as input instead of an ObsPy Stream. I was able to remove a lot of rotation code from lsforce.py.