Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Oct 11, 2023
1 parent 07045e3 commit 186590b
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
[package]
name = "stabilizer-streaming"
name = "stabilizer-stream"
version = "0.1.0"
authors = [
"Robert Jördens <[email protected]>",
"Ryan Summers <[email protected]>",
]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.67"
rust-version = "1.70"
description = "Tools to interact with Stabilizer streams, including PSD analysis app"
repository = "https://github.com/quartiq/stabilizer-streaming"

[dependencies]
clap = { version = "4.3", features = ["derive"] }
Expand Down
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
# stabilizer-streaming
Host-side stream utilities for interacting with Stabilizer's livestream
# 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`](https://github.com/quartiq/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):

https://github.com/quartiq/stabilizer-streaming/assets/1338946/14333e17-61ef-4ca2-a5d2-c314b70714ad
5 changes: 2 additions & 3 deletions src/bin/main.rs → src/bin/psd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ use anyhow::Result;
use clap::Parser;
use eframe::egui::{self, ComboBox, ProgressBar, Slider};
use egui_plot::{GridInput, GridMark, Legend, Line, Plot, PlotPoint, PlotPoints};
use stabilizer_streaming::{AvgOpts, MergeOpts};
use std::time::Duration;
use std::{ops::RangeInclusive, sync::mpsc};

use stabilizer_streaming::{
use stabilizer_stream::{
source::{Source, SourceOpts},
Break, Detrend, PsdCascade,
AvgOpts, Break, Detrend, MergeOpts, PsdCascade,
};

#[derive(Clone, Copy, Debug)]
Expand Down
7 changes: 4 additions & 3 deletions src/bin/stream_test.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
use anyhow::Result;
use clap::Parser;
use stabilizer_streaming::{
use std::sync::mpsc;
use std::time::Duration;

use stabilizer_stream::{
source::{Source, SourceOpts},
Break, Detrend, MergeOpts, PsdCascade, VarBuilder,
};
use std::sync::mpsc;
use std::time::Duration;

/// Execute stabilizer stream throughput testing.
/// Use `RUST_LOG=info cargo run` to increase logging verbosity.
Expand Down
3 changes: 2 additions & 1 deletion src/bin/stream_to_raw.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
use anyhow::Result;
use clap::Parser;
use stabilizer_streaming::source::{Source, SourceOpts};
use std::io::Write;

use stabilizer_stream::source::{Source, SourceOpts};

#[derive(Parser, Debug)]
pub struct Opts {
#[command(flatten)]
Expand Down

0 comments on commit 186590b

Please sign in to comment.