Git Product home page Git Product logo

Comments (4)

slartz42 avatar slartz42 commented on May 27, 2024

Actually now that I look at this closer, there might be some kind of division error somewhere causing this. With a sampling rate of 300 Hz and a connector width of 1000 points, everything works fine. When I change the sampling rate to 301 Hz, it stops working properly. If I force the slice width to be an integer, it works again.

Hopefully this isn't an issue with my code, but that's also very possible

from pglive.

domarm-comat avatar domarm-comat commented on May 27, 2024

Thanks for your input again. I briefly tested it. There is definetly something wrong. Most likely LiveAxis display region calculation. I set sampling rate to 401 and plot rate to 1Hz. I didn't see any line. Then I zoomed out and saw plot progressing correctly at 1Hz, but autorange was not properly working. Therefore there was nothing plotted. Right now, I'm quite busy with othert stuff. But hopefully will find some time soon to debug and fix this issue.

from pglive.

optio50 avatar optio50 commented on May 27, 2024

Roll on tick seems to be an issue for me as well.
I can see a single vertical line that appears top be massively zoomed out (this includes the X axis timeline as well).
It takes a lot of zooming in to see the trace as it is sampled.

from pglive.

Auro-93 avatar Auro-93 commented on May 27, 2024

Hello,

I hope this issue's topic suits my question. I would kindly request clarification on the functionality of the 'roll_on_tick' parameter. I'm currently working on developing a Python GUI for multi-channel live plotting (displaying multiple line charts) of real-time acquired data.

For these charts, I'm able to set the following parameters:

  • Bin width: a value in microseconds representing the time step between the recording/acquisition of one data point/value and another.
  • Update rate: the frequency in hertz for plotting the chart.
  • Time span: the temporal window in seconds (x-axis range) that I wish to view at a time. For example, setting a 5-second time span, I aim to view ranges such as 0s-5s, then 5s-10s, and so forth.

I'm encountering issues while setting this temporal window on the chart, particularly when manipulating the 'roll_on_tick' parameter, resulting in inconsistent outcomes. This might be due to my limited experience in PyQt and live plotting.

Hence, I have a theoretical rather than technical question: What exactly does 'roll_on_tick' entail? How is this parameter correlated with others such as 'update_rate,' 'bin_width,' and 'time_span'?

For a more detailed overview of the problem I'm facing, I've elaborated on Stack Overflow at: link.

Thank you very much.

from pglive.

Related Issues (20)

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.