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

Metadata

Release files for sgn-ts 0.15.0

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.15.0
File Size Uploaded Provenance Actions
sgn_ts-0.15.0.tar.gz 358.9 kB Without provenance Details for sgn_ts-0.15.0.tar.gz

Built distribution (wheel)

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

Total release size: 509.5 kB

Release files / sgn_ts-0.15.0.tar.gz

Download URL sgn_ts-0.15.0.tar.gz
Size 358.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2a6683a44b457dd0c5086c32fdb58b5c7acd2d7d4c29168ca2890c3c83590e4d
BLAKE2b-256 checksum
How to use checksums
851452172dd1829c271260ba79d4fe2b2f7af308b0c1cdf38794ca358394415e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

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

Download URL sgn_ts-0.15.0-py3-none-any.whl
Size 150.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41e683bc0d693e964d87ac6afc5c354891b4e73a65644b92f0b6e66ee17666ad
BLAKE2b-256 checksum
How to use checksums
55ab23e0252c8388de9ab3259ed8b02fd0e32ee9bb5d30f5b6e23e9bbb4b6844
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Security for sgn-ts 0.15.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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