GithubHelp home page GithubHelp logo

ewhitmire / pyrealtime Goto Github PK

View Code? Open in Web Editor NEW
66.0 66.0 15.0 138 KB

Realtime data processing and plotting pipelines in Python

License: MIT License

Python 100.00%
data-visualization pipeline plotting python realtime serialport

pyrealtime's People

Contributors

ewhitmire avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyrealtime's Issues

AttributeError: 'AggregateScatterPlotLayer' object has no attribute 'use_np'

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'

Documentation

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.

More explicit error message for lack of python 2 support

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)

Use logging API

Print all debugging information to a separate log that can selectively enabled instead of to stdout.

Syntax error during setup

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.