sgn-gwframe
Gravitational wave frame file I/O elements for sgn-ts
Resources
Installation
pip install sgn-gwframe
Features
- Read timeseries data from
.gwfframe files, frame caches, or lists of frame files - Watch directories for new frame files in real-time with automatic gap detection
- Write timeseries data to
.gwffiles with compression, multi-frame support, and retention policies - Integrates as source and sink elements for SGN pipelines
Quickstart
Read from frame files
from sgn_gwframe import GWFrameSource
from sgn.apps import Pipeline
src = GWFrameSource(
name="gwosc",
channels=["L1:GWOSC-16KHZ_R1_STRAIN"],
frames="frames.cache",
start=1187008882,
end=1187008896,
)
pipeline = Pipeline()
pipeline.insert(src, ...)
pipeline.run()
Watch a directory for live frame data
from sgn_gwframe import GWFrameWatchSource
from sgn.apps import Pipeline
src = GWFrameWatchSource(
name="L1_live",
channels=["L1:GDS-CALIB_STRAIN"],
watch_dir="/data/frames/L1",
)
pipeline = Pipeline()
pipeline.insert(src, ...)
pipeline.run()
Write frame files
from sgn_gwframe import GWFrameSink
from sgn.apps import Pipeline
sink = GWFrameSink(
name="writer",
channels=["H1:GDS-CALIB_STRAIN"],
duration=1,
output_dir="output",
description="FILTERED",
max_files=100,
)
pipeline = Pipeline()
pipeline.insert(..., sink)
pipeline.run()
Metadata
Release files for sgn-gwframe 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sgn_gwframe-0.9.1.tar.gz | 4.1 MB | Without provenance | Details for sgn_gwframe-0.9.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sgn_gwframe-0.9.1-py3-none-any.whl | Python 3 | none | any | Details for sgn_gwframe-0.9.1-py3-none-any.whl |
Total release size: 4.1 MB
Release files / sgn_gwframe-0.9.1.tar.gz
| Download URL | sgn_gwframe-0.9.1.tar.gz |
|---|---|
| Size | 4.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9011c4c010291bd09ca3b43bf7644e122fa516679f1c80f05ecb334cf0fef2a8
|
|
BLAKE2b-256 checksum How to use checksums |
d9b23cc010cdb044ad19c77145c0cf36fe22f76530ef1c152921df338971ef96
|
| 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_gwframe-0.9.1-py3-none-any.whl
| Download URL | sgn_gwframe-0.9.1-py3-none-any.whl |
|---|---|
| Size | 28.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
935275168a7fd3380a195832b9d67549ed401b54e055135649761428bbc552fc
|
|
BLAKE2b-256 checksum How to use checksums |
ab8ef5f2dbff14615a0148e3439c61295935f8d2a0938611e5718fb5181470dd
|
| 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
|
Security for sgn-gwframe 0.9.1
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.