Git Product home page Git Product logo

stabilizer-stream's Introduction

stabilizer-stream

Host-side stream utilities for interacting with Stabilizer's data stream

PSD

Graphical frontend to real-time cascaded power-spectral density (PSD) measurements.

  • Low-latency online PSD monitoring
  • Arbitrarily large effective FFT sizes
  • More than 200 MS/s on a single CPU core
  • Supports stabilizer dual-iir/lockin/fls formats as well as device-independent raw streams

See the following real time video of a 200 MS/s stream being analyzed (4.8e9 samples in 24 seconds):

psd2.mp4

stabilizer-stream's People

Contributors

jordens avatar ryan-summers avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

stabilizer-stream's Issues

Update backend to utilize Websockets

Currently, the backend server serializes data and serves it via REST. This can cause significant delays due to serialization of large data arrays, which results ultimately in dropping of inbound stream frames. Utilizing tide-websockets will allow us to avoid serialization of this data (since we can use a TypedArray around the binary data in Javascript.

Add configurable decimation support

Add support for decimating the data server-side. This will allow us to immediately decimate in-bound data.

Decimation may either be done automatically, or via input provided from the UI.

This may help resolve #6 by limiting the number of samples sent to the frontend.

Capture window may not be respected

When requesting a capture for 10ms of data, the server will provide 10ms worth of samples. If samples are dropped in the middle, this means that there may be data spanning an undefined amount of time.

This is undesired because it means that we cannot consistently display the data with a fixed time window, as the maximum timestamp changes based on whether or not data was dropped.

Add edge trigger support

Add support for triggering captures based on a single edge trigger mechanism.

The edge trigger should allow the following:

  • Edge trigger time support (e.g. set the edge to 0-100% of the capture window)
  • Support rising/falling triggers on a specific trace label
  • Utilize the standard 30%/50%/70% edge trigger mechanism, where the waveform must rise from below 30% max, cross 50%, and then exceed 70% to define a valid "edge". The trigger time is defined as the point that crosses 50%.

Documentation

Hello,

This looks like a very useful project, but I didn't find any documentation on how to use it. Specifically, it'd be very useful for me to know what the required steps are to recreate the interface shown in the video in the readme.

If you could share / point me to that, that would be much appreciated!

Captures won't display with long capture periods

For capture periods longer than ~150ms, the capture doesn't appear at all. Investigation of the console log indicates that Javascript hits a memory exception and drops the serialized data.

This should be resolved either by limiting the size of the data sent to the front end (limiting number of points) or by drawing the display in chunks of a specific size.

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.