sbonaime / seedlink_plotter

Seedlink_plotter A python script to plot real time seismic data from a seedlink server
GNU Lesser General Public License v3.0
36 stars 18 forks source link

plot psd instead of normal waveform #15

Open megies opened 9 years ago

megies commented 9 years ago

This PR is not at all intended to be merged currently, just for visibility in case somebody finds this useful..

Currently "-b" (backtrace) controls over what time window (backwards from now) the psd is computed and "-u" (update time) controls after what interval a new psd is computed. Old psds continually get more transparent and weaker in linewidth (== kind of fade out). Lots of values hard coded right now (frequ limits, number of old psds to keep, etc).

megies commented 9 years ago

psdplot

sbonaime commented 8 years ago

Can you give the parameters you use for this example ? thank you !

megies commented 8 years ago

Uhm.. I think that image was created from the attached code..

sbonaime commented 8 years ago

what about -b and -u values ?

megies commented 8 years ago

Oh, right, command line parameters.. sorry, too long ago, no idea. You'll just have to try some values.

megies commented 8 years ago

I think this would really only be useful to debug certain electrical problems when setting up a station (e.g. getting rid of 50Hz hum, ...), i.e. when you have some sharp changes in the psd.

For a monitor plot maybe some of the new PPSD plots could maybe be plugged into seedlink plotter, see obspy/obspy#1327. Those would be more consistent with the time axis of the normal seedlink plotter..