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.5

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.5
File Size Uploaded
sgn_ts-0.14.5.tar.gz 350.3 kB Details

Built distribution (wheel)

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

Total release size: 500.0 kB

Release files / sgn_ts-0.14.5.tar.gz

Download URL sgn_ts-0.14.5.tar.gz
Size 350.3 kB
Tags Source
SHA-256 checksum
How to use checksums
36bf2f895a505a274c52529dfc2728fe368c53fd0237ec06eab1478ec2d1e97a
BLAKE2b-256 checksum
How to use checksums
e51fbb4e1d7da92b64ffe501f8c39e9f84225aad977ed57267c2b4c8dc00f26d
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.5-py3-none-any.whl

Download URL sgn_ts-0.14.5-py3-none-any.whl
Size 149.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53447204e8ba8d78482418f79e1cae68018dd091c1f9de9bd7a0669339f099cd
BLAKE2b-256 checksum
How to use checksums
914cd043edef15c4919dd5bd317af5802c6ab969c3afb3cef56ee96cca2f6563
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

This release

0.14.5 This release

2 release files

0.14.4

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