ewhitmire / pyrealtime Goto Github PK
View Code? Open in Web Editor NEWRealtime data processing and plotting pipelines in Python
License: MIT License
Realtime data processing and plotting pipelines in Python
License: MIT License
While trying to use the AggregateScatterPlotLayer class, this error pops up. Full stacktrace:
Exception in thread layer:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/steven/.local/lib/python3.6/site-packages/pyrealtime/layer.py", line 245, in run_thread
self.process_loop()
File "/home/steven/.local/lib/python3.6/site-packages/pyrealtime/layer.py", line 199, in process_loop
self.post_init(data)
File "/home/steven/.local/lib/python3.6/site-packages/pyrealtime/plotting/scatter.py", line 60, in post_init
if self.use_np:
AttributeError: 'AggregateScatterPlotLayer' object has no attribute 'use_np'
Is there anywhere I can find documentation on this library? I am trying to use it for audio from a microphone but I can't find any documentation for it.
Traceback (most recent call last):
File "D:\Documents\Python\pyrealtime-master\setup.py", line 2, in
from pyrealtime import version
File "D:\Documents\Python\pyrealtime-master\pyrealtime_init_.py", line 2, in
from .decode_layer import *
File "D:\Documents\Python\pyrealtime-master\pyrealtime\decode_layer.py", line 1, in
from pyrealtime.layer import TransformMixin, ThreadLayer
File "D:\Documents\Python\pyrealtime-master\pyrealtime\layer.py", line 422
def init(self, *args, encoder=None, **kwargs):
^
SyntaxError: invalid syntax
("encoder" marked with ^)
Could I be missing a dependency?
Originally posted by @Citizen07 in #19 (comment)
For sockets: socket.shutdown(socket.SHUT_WR)
For serial: cancel_read() (only posix/windows)
Anyone know how to change the legend's labels?
Print all debugging information to a separate log that can selectively enabled instead of to stdout.
Installation currently fails with the following error:
python3 setup.py install
Traceback (most recent call last):
File "setup.py", line 2, in
from pyrealtime import version
File "/home/snietfeld/Downloads/pyrealtime/pyrealtime/init.py", line 2, in
from .decode_layer import *
File "/home/snietfeld/Downloads/pyrealtime/pyrealtime/decode_layer.py", line 1, in
from pyrealtime.layer import TransformMixin, ThreadLayer
File "/home/snietfeld/Downloads/pyrealtime/pyrealtime/layer.py", line 10, in
from pyrealtime import utils
File "/home/snietfeld/Downloads/pyrealtime/pyrealtime/utils.py", line 75
print(f"FPS: {self.ticks / elapsed_time}")
^
SyntaxError: invalid syntax
Looks like maybe just a typo? Removing the preceeding "f" fixes the issue.
any advice of how to add can bus support
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.