Skip to main content

Python Bindings for the SWGO Waveform Library

This are the Python bindings for the SWGO Waveform Library. The bindings can be installed from PyPI:

pip install swgo-wave

If your operating system is not supported, you can install them manually:

git clone --recursive git@gitlab.com:swgo-collaboration/simulation/swgo-waveform-python-bindings.git
cd swgo-waveform-python-bindings
python -m pip install .

To simulate the FlashCam electronics, use:

import libwaveform as wf

fc = wf.make_flashcam()
triggers = fc.simulate([...],1)

for t in triggers:
    # t.channel - int
    # t.trigger_time_s - int (seconds since run start)
    # t.trigger_time_ticks - int (ticks since last full second, tick = 4ns)
    # t.baseline - float (ADC baseline)
    # t.intsum - float (sum of waveform)
    # t.waveform - list* of int

make_flashcam() creates a FlashCam object with the FlashCam default settings. You can directly create FlashCam instances by invoking its constructor wf.FlashCam(). Use help(wf.FlashCam) for the documentation of the constructor parameters.

The trigger and waveform objects are native C++ objects. The waveform objects support the python list interface for integers.

The MultiPMT electronics (which is not fully supported yet) can be simulated with:

import libwaveform as wf

mp = wf.make_multipmt()
triggers = mp.simulate([...],1)

for t in triggers:
    # t.channel - int
    # t.time - float (trigger time in seconds)
    # t.time_over_threshold - float (in seconds)
    # t.adc_sample - float (in LSB)

make_multipmt() creates a MultiPMT object with the MultiPMT default settings. You can directly create MultiPMT instances by invoking its constructor wf.MultiPMT(). Use help(wf.MultiPMT) for the documentation of the constructor parameters.

Metadata

Release files for swgo-wave 0.2.8

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

Built distributions (wheels)

Table of built distributions (wheels) for swgo-wave 0.2.8
File Actions
swgo_wave-0.2.8-cp314-cp314t-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64 Details for swgo_wave-0.2.8-cp314-cp314t-musllinux_1_2_x86_64.whl
swgo_wave-0.2.8-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for swgo_wave-0.2.8-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
swgo_wave-0.2.8-cp314-cp314-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ x86-64 Details for swgo_wave-0.2.8-cp314-cp314-musllinux_1_2_x86_64.whl
swgo_wave-0.2.8-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for swgo_wave-0.2.8-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
swgo_wave-0.2.8-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details for swgo_wave-0.2.8-cp313-cp313-musllinux_1_2_x86_64.whl
swgo_wave-0.2.8-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for swgo_wave-0.2.8-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
swgo_wave-0.2.8-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details for swgo_wave-0.2.8-cp312-cp312-musllinux_1_2_x86_64.whl
swgo_wave-0.2.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for swgo_wave-0.2.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
swgo_wave-0.2.8-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details for swgo_wave-0.2.8-cp311-cp311-musllinux_1_2_x86_64.whl
swgo_wave-0.2.8-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for swgo_wave-0.2.8-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
swgo_wave-0.2.8-cp310-cp310-musllinux_1_2_x86_64.whl CPython 3.10 CPython 3.10 Linux musl 1.2+ x86-64 Details for swgo_wave-0.2.8-cp310-cp310-musllinux_1_2_x86_64.whl
swgo_wave-0.2.8-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for swgo_wave-0.2.8-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
swgo_wave-0.2.8-cp39-cp39-musllinux_1_2_x86_64.whl CPython 3.9 CPython 3.9 Linux musl 1.2+ x86-64 Details for swgo_wave-0.2.8-cp39-cp39-musllinux_1_2_x86_64.whl
swgo_wave-0.2.8-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for swgo_wave-0.2.8-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Total release size: 12.6 MB

Release files / swgo_wave-0.2.8-cp314-cp314t-musllinux_1_2_x86_64.whl

Download URL swgo_wave-0.2.8-cp314-cp314t-musllinux_1_2_x86_64.whl
Size 1.4 MB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
d3073f93eea0fc9e3b7544aa3cc25068d271483c2b198a50c70fb7f1d32562c8
BLAKE2b-256 checksum
How to use checksums
0e702cb29f30517666bf4a0aeacca55c797dedfac06a4f23cf05d6cdc2498dec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / swgo_wave-0.2.8-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.2.8-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 405.6 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b55836092a6af7b15932fdc8cf794285501b34e0a12e6dd50395943913fa4d0f
BLAKE2b-256 checksum
How to use checksums
b0b1710bccb350ecf512c2b7c4dd9331e82d796a1c5a3ea28b3734d6b15f34f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / swgo_wave-0.2.8-cp314-cp314-musllinux_1_2_x86_64.whl

Download URL swgo_wave-0.2.8-cp314-cp314-musllinux_1_2_x86_64.whl
Size 1.4 MB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
af891defb2b7885f327559ed3324a5a427e46040e92b0c7ab3d7e7dfe311133b
BLAKE2b-256 checksum
How to use checksums
b8abd9baeece6162e2869c125e9ab072f0e311f1aa1844278e61b610b7645614
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / swgo_wave-0.2.8-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.2.8-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 402.7 kB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
e7c7d9ba7024fe48031d142e544b0932da70507ac2d70c9cc31b7c77f6ebe9dd
BLAKE2b-256 checksum
How to use checksums
2c925099e154dab702c81e57d3e30d0b3181fac81306acb09f71710c23993a48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / swgo_wave-0.2.8-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL swgo_wave-0.2.8-cp313-cp313-musllinux_1_2_x86_64.whl
Size 1.4 MB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
90843fd4abaea0cb52d66847fb539b3c474ef2dfa47eaed9b949792977dcf3b3
BLAKE2b-256 checksum
How to use checksums
8621baa4f62a1aef8ea26a56c4790481c3fb2f5f9bcf6d392504e9d987965f23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / swgo_wave-0.2.8-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.2.8-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 401.9 kB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
64656f31b0ff7450c76217a5316eeeececa4cf1cd041a71ce5c79eadef058d7f
BLAKE2b-256 checksum
How to use checksums
c98e80db6566cc37370d2232f3771baf2e552dd309ebb449dfe2a5122e729b1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / swgo_wave-0.2.8-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL swgo_wave-0.2.8-cp312-cp312-musllinux_1_2_x86_64.whl
Size 1.4 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
942df4fd0872853a3d91cba4ee22033ce8b5d3b2308df5e8fe7d7aac91f77224
BLAKE2b-256 checksum
How to use checksums
14d689ec815a66b23d739408c290890a39eba37a9626a0a8a810c15a221b3d9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / swgo_wave-0.2.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.2.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 401.8 kB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3ea020091232437f47be5d51cf3e404a6e8bc38c7c7ba542bee65b7403238cd1
BLAKE2b-256 checksum
How to use checksums
bdfc8992d21506b68d09448227b0b71406b193017d2da59014b21088e45ece7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / swgo_wave-0.2.8-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL swgo_wave-0.2.8-cp311-cp311-musllinux_1_2_x86_64.whl
Size 1.4 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
abcf9eeb1d2dc949a3071461bf60652d92bfbde95b21abc7e4e2297c45ee4d88
BLAKE2b-256 checksum
How to use checksums
8f437d8a9f5e42bc6f3a7a0c1a8f4ec8fd3c85057396fd0662b710adf228c9b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / swgo_wave-0.2.8-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.2.8-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 397.6 kB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9cd11368a19d23d58bcfa20845513b435403d711e8ada797a82166edbeaa2673
BLAKE2b-256 checksum
How to use checksums
8c13c6b14ca2540156a1715e7060037c8195d0faaf7623bbac30fcd9e35d75a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / swgo_wave-0.2.8-cp310-cp310-musllinux_1_2_x86_64.whl

Download URL swgo_wave-0.2.8-cp310-cp310-musllinux_1_2_x86_64.whl
Size 1.4 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
8e3d81c5cd68c841ab29dbf721e0f61e62f36a45f77b82bb298084857bd22b69
BLAKE2b-256 checksum
How to use checksums
3425802fec2f18b06aace389c06b34461d41153ef51d14bf88a261f5c39a681c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / swgo_wave-0.2.8-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.2.8-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 396.7 kB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
95d85b42426df5830ea20e115604ef0804d745c9ad07fa951a67739adf21e938
BLAKE2b-256 checksum
How to use checksums
318e988367f3f20f9d0427bf2c79c382aad0777a7a549e3975dde570c055fd23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / swgo_wave-0.2.8-cp39-cp39-musllinux_1_2_x86_64.whl

Download URL swgo_wave-0.2.8-cp39-cp39-musllinux_1_2_x86_64.whl
Size 1.4 MB
Tags CPython 3.9 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
01f42e94f53610c545e4ad49eaa99f25e67a5c3c325fd3b85342baadf97c09e0
BLAKE2b-256 checksum
How to use checksums
cfa118ce8f8fc4289326a4a29f2a7b0a6ed85b818b3ffc10581356134b9a5b9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / swgo_wave-0.2.8-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.2.8-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 397.2 kB
Tags CPython 3.9 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
be1fe845a8f405ed9f50571ad67203854d8d002039fe34a73b7469223f0d616a
BLAKE2b-256 checksum
How to use checksums
255fe32d5b341405f8d3d8f270b5ae4c3610295a71014e8de3f3dbc730526c8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for swgo-wave 0.2.8

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