Skip to main content

slop Kanna doing Wi-Fi plumbing

csiphon

csiphon is an online-first processing library for WiFi Channel State Information. Compose reusable DSP steps, compile them against your capture setup, then pour a complete recording or stream live chunks through the same validated pipeline.

from csiphon import AcquisitionProfile, Pipeline
from csiphon.steps import GainNormalize, Magnitude, WindowedVariance

# Define the hardware setup
profile = AcquisitionProfile(
    n_rx_antennas=3,
    subcarrier_indices=tuple(range(52)),
    sampling_rate_hz=1000.0,
)

# Define the pipeline steps
siphon = (
    Pipeline()
    .then(Magnitude())
    .then(GainNormalize())
    .then(WindowedVariance(win_size_s=0.1))
    .compile(profile)
)

# Generate a summary of the pipeline
print(siphon.describe())

# Push some data through it to run
features = siphon.pour(profile.raw_signal(csi, timestamps)).single()

What it does

  • Catches structural mistakes before execution. Compilation checks axes, shapes, value semantics, and physical representations before data starts flowing.
  • Runs the same recipe in batch or live. Every step states whether its streaming computation matches batch, differs intentionally, or requires the complete recording.
  • Supports branching pipelines. Split into parallel feature paths, merge them again, and expose named intermediate outlets.
  • Keeps real timestamps. Non-uniform CSI sampling is expected; resampling is explicit rather than silently assumed.
  • Describes itself. Steps and compiled siphons expose their contracts, layouts, parameters, and streaming behavior, and can save that information alongside results for reproducibility.

The built-in steps cover calibration, cleaning, filtering, delay and time-frequency transforms, temporal features, pooling, statistics, reduction, and restructuring. Custom steps use the same contracts and inspection tools.

Install

pip install -e .

The core only depends on NumPy. Install every optional transform with:

pip install -e ".[all]"

Runnable recipes live in examples/.

Metadata

Release files for csiphon 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for csiphon 0.1.1
File Size Uploaded
csiphon-0.1.1.tar.gz 172.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for csiphon 0.1.1
File Interpreter ABI Platform
csiphon-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 335.6 kB

Release files / csiphon-0.1.1.tar.gz

Download URL csiphon-0.1.1.tar.gz
Size 172.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1b6481f956d9112c39bc0c3ef63d0f55e3cd23a26d81ba31a4683f126269685c
BLAKE2b-256 checksum
How to use checksums
fdb12fd7f91391435aac59ca663b9c0548c2fc0b63807243c9a099b5c67b8102
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / csiphon-0.1.1-py3-none-any.whl

Download URL csiphon-0.1.1-py3-none-any.whl
Size 163.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3f6100bf78e726dcf6758917c0a4dc5235daa9e5fa6785db63ca84b76145e27
BLAKE2b-256 checksum
How to use checksums
18dead0320b1f3dfe5843494546d2b4bab21eb3381559b39b6166a4fba6e65c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page