Skip to main content

SGN-TS

SGN-TS extends the SGN streaming pipeline framework with time-series data types: precise offset-based timing, uniformly sampled buffers, frame alignment across multiple channels, and a library of signal processing elements.

Installation

pip install sgn-ts

For PyTorch-accelerated operations (resampling, array backends):

pip install sgn-ts[torch]

Quick Example

Generate a sine wave, amplify it, and collect the output:

from sgn import Pipeline
from sgnts.sources import FakeSeriesSource
from sgnts.transforms import Amplify
from sgnts.sinks import TSFrameCollectSink

src = FakeSeriesSource(
    name="src",
    source_pad_names=["out"],
    signal_type="sin",
    rate=2048,
    duration=2,
)
amp = Amplify(name="amp", factor=3.0)
snk = TSFrameCollectSink(name="snk")

Pipeline().connect(src, amp).connect(amp, snk).run()

for frame in snk.data["out"]:
    print(frame.offset, len(frame.buffers))

Documentation

Full documentation is available at docs.ligo.org/greg/sgn-ts.

  • sgn: Base streaming pipeline framework
  • sgn-ligo: LIGO-specific utilities for SGN

Release files for sgn-ts 0.14.4

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

Source distribution (sdist)

Source distribution for sgn-ts 0.14.4
File Size Uploaded
sgn_ts-0.14.4.tar.gz 346.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sgn-ts 0.14.4
File Interpreter ABI Platform
sgn_ts-0.14.4-py3-none-any.whl Python 3 none any Details

Total release size: 501.2 kB

Release files / sgn_ts-0.14.4.tar.gz

Download URL sgn_ts-0.14.4.tar.gz
Size 346.9 kB
Tags Source
SHA-256 checksum
How to use checksums
02146e0cb75aa574272e7979263c93ef325538bda05c29544e26c62cd3845925
BLAKE2b-256 checksum
How to use checksums
3895a48136b0a9fb78cf3b7bf94f2b447241b363e6df3a9c3a2bf6dc48e1ab7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.5 cpython/3.13.12 HTTPX/0.28.1

Release files / sgn_ts-0.14.4-py3-none-any.whl

Download URL sgn_ts-0.14.4-py3-none-any.whl
Size 154.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb1549637e2b24e9465d968e81330ab4401ea070a93efe018e61c01f688022a2
BLAKE2b-256 checksum
How to use checksums
88bbbba4cb205204e99f6132de57f381d3f3c1369a16c4e695058fbea1ca7e03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Hatch/1.16.5 cpython/3.13.12 HTTPX/0.28.1

Release history Release notifications | RSS feed

0.14.5

2 release files

This release

0.14.4 This release

2 release files

0.14.3

2 release files

0.14.2

2 release files

0.14.1

2 release files

0.14.0

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.0.2

2 release files

0.0.1

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