Comments (3)
I suspect that this is due to the fact that trace list is regenerated every time the the merge method is invoked
Yeah, we started this as simple as possible to start out with just relying on everything that's already there, development time vs. CPU's doing some more stupid number crunching .. ;-)
This reduces the CPU load on my machine from 100% to 10-20%
Sounds great! 👍
I noted that the CPU usage quickly increased to 100% on my machine.
I'd be curious whether this impacts the minimum realizable update time, i.e. whether you can go to a smaller plot update time with that? The plot is in a different thread, so probably not, I guess? But the stream to plot might be more up to date, I guess..
Actually, there's a lot more in there that's probably not needed, all the super-tedious checking of sub-sample alignment.. hardly necessary for just a simple kiosk plot. ;-) ..but again, as long as it works..
In any case, I think it would be great to have your modification in master. Care to do a PR?
from seedlink_plotter.
I'd be curious whether this impacts the minimum realizable update time
I cant really tell, since in reality I only use the data retrieval part from the seedlink_plotter for a different application that I'm working on. At a latter stage I'll probably want to include some plotting as well and will then probably have a peak at the plotting part to get started. That said I actually also have several threads running that are accessing the collected streams but as these always makes a deep copy of the stream object and then operates copy (as is done by the seedlink_plotter). As the copying part seems to be quite efficient, this does not seem to be problematic (neglecting here the load from the work performed by the thread which is a different issue)
Care to do a PR
I would be very happy to contribute to this very nice and useful project : ). However, I think there's still some work to be done before my suggested solution is decent/general enough, and I also have to read up on how to do a PR (presumably not that hard but...).
from seedlink_plotter.
some work to be done before my suggested solution is decent/general enough,
Great, just let us know when you have something!
and I also have to read up on how to do a PR (presumably not that hard but...).
Let us know if you're struggling and need directions with that..
from seedlink_plotter.
Related Issues (20)
- pip install, matplotlib and Macos
- UserWarning in Multichannel HOT 2
- singlechannel plot: ticklabels inside of axes? HOT 3
- Tcl-Tk and Yosemite on Macos HOT 1
- Drum plots with backtrace_time and x_scale not well choosen
- need to clear processing list of traces after trim() in plot_graph() HOT 1
- reconnect on interrupted connection to server
- Localisation bug HOT 2
- Matplotlib 1.5 breaking plotting
- DATA/FETCH/TIME command is not accepted HOT 6
- URLerror HOT 2
- seedlink_plotter embedded in a web page HOT 4
- Bug with events HOT 7
- Time problem if more than 15 stations HOT 4
- Add support for wildcards in selected networks/stations
- Seedlink plotter kills my MacOs WindowServer ! HOT 4
- change host HOT 4
- how to include realtime triggering sta/lta HOT 1
- Problem when plotting multiple channels of the same station HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seedlink_plotter.