raspishake / rsudp

Continuous visual display, sudden motion monitoring, and historical replay of Raspberry Shake data
https://raspishake.github.io/rsudp/
GNU General Public License v3.0
55 stars 32 forks source link

Feature request: STA/LTA value plot with trigger lines #34

Open Larusrafn opened 2 years ago

Larusrafn commented 2 years ago

Is there a possibility to add a new optional graph section to rsudp graph window that plots the sta/lta value and displays the trigger lines? my preference would be to have it above the EHZ channel in the graphing window.....(top most graph)

similar to the lower graph in "12.3.3. Recursive Sta Lta" on this page: https://docs.obspy.org/tutorial/code_snippets/trigger_tutorial.html

this would greatly help newbies like myself understand the triggering better.

Larusrafn commented 2 years ago

minimalist suggestion: a mini version of the plot with only ehz and said sta lta plot in a new window? as a separate consumer?

iannesbitt commented 2 years ago

Hi @Larusrafn, I have considered this and I think it would be very helpful. It's definitely on my list of things to experiment with in a future release. Thank you for the suggestion!

Larusrafn commented 2 years ago

hope im not intruding, but the more i think about this, the more i think it should be a separate window from the main... plotting only the alert version of the stream and the sta/lta info... either on one plot with 2 scales or 2 plots. This is because you bandpass for the the alert trigger.... it would also help to see the signal difference between the main one and bandpassed. but this is maybe too much..... i am trying to hack this into the c_alert.py but as i am not a programmer, this is very slow progress :)

Lallirafn commented 1 year ago

Anything been done about this request?

iannesbitt commented 1 year ago

I have not done any work on this yet, but I plan on doing some work on the plotting module soon, so this will likely get included in that work.