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

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.3.1
File Actions
swgo_wave-0.3.1-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.3.1-cp314-cp314t-musllinux_1_2_x86_64.whl
swgo_wave-0.3.1-cp314-cp314t-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 Details for swgo_wave-0.3.1-cp314-cp314t-manylinux_2_28_x86_64.whl
swgo_wave-0.3.1-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.3.1-cp314-cp314-musllinux_1_2_x86_64.whl
swgo_wave-0.3.1-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for swgo_wave-0.3.1-cp314-cp314-manylinux_2_28_x86_64.whl
swgo_wave-0.3.1-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.3.1-cp313-cp313-musllinux_1_2_x86_64.whl
swgo_wave-0.3.1-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for swgo_wave-0.3.1-cp313-cp313-manylinux_2_28_x86_64.whl
swgo_wave-0.3.1-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.3.1-cp312-cp312-musllinux_1_2_x86_64.whl
swgo_wave-0.3.1-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for swgo_wave-0.3.1-cp312-cp312-manylinux_2_28_x86_64.whl
swgo_wave-0.3.1-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.3.1-cp311-cp311-musllinux_1_2_x86_64.whl
swgo_wave-0.3.1-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details for swgo_wave-0.3.1-cp311-cp311-manylinux_2_28_x86_64.whl
swgo_wave-0.3.1-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.3.1-cp310-cp310-musllinux_1_2_x86_64.whl
swgo_wave-0.3.1-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details for swgo_wave-0.3.1-cp310-cp310-manylinux_2_28_x86_64.whl
swgo_wave-0.3.1-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.3.1-cp39-cp39-musllinux_1_2_x86_64.whl
swgo_wave-0.3.1-cp39-cp39-manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ x86-64 Details for swgo_wave-0.3.1-cp39-cp39-manylinux_2_28_x86_64.whl

Total release size: 13.2 MB

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

Download URL swgo_wave-0.3.1-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
befd3dafc9b3a3eb8a012864f0620efbb168e3641030683a814a9bb7e4e5f4ed
BLAKE2b-256 checksum
How to use checksums
c5d76f928e0eea51dd003e7b7401f058b603bcf4d30106c74fffb18ed3247f1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / swgo_wave-0.3.1-cp314-cp314t-manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.3.1-cp314-cp314t-manylinux_2_28_x86_64.whl
Size 444.3 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
548c7e5c522072729f367cad08e93a4dde6b2379bc056ddd3c82561abb9c9dc0
BLAKE2b-256 checksum
How to use checksums
8df04b68a1b53dc7faa5332c2c0ef90c391e84e81a9e5c327323f667b50b1ab8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL swgo_wave-0.3.1-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
d8826a4ad7ff4bde4a8519ae08c50d251c9728a58a2cd644ebcc0e18e1fc5d2c
BLAKE2b-256 checksum
How to use checksums
e611b35621ac611f6b61df0961720a57cadd9da0b63637598825ea7021e558a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / swgo_wave-0.3.1-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.3.1-cp314-cp314-manylinux_2_28_x86_64.whl
Size 441.1 kB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
ef065b8425ca3cfacd8d9d09d82ea22a7616f82cba79f74459e0fa518e2040c7
BLAKE2b-256 checksum
How to use checksums
0baa8b593022e90ad36dbd45675750bcd9bdcb18c800919f974078f8551dea5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL swgo_wave-0.3.1-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
af6f192d6c10034e561cc69f7af584b60153db0986927ffeef3e09c86fed5c52
BLAKE2b-256 checksum
How to use checksums
7780fed9c7ae2c55f6b77e662aef3ba443ee500f4f811437ccdcf037de5a0315
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / swgo_wave-0.3.1-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.3.1-cp313-cp313-manylinux_2_28_x86_64.whl
Size 439.9 kB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7b57032e5bb7f8c157af646d5f8628bb333f13db4e4d40009acb84162d654f91
BLAKE2b-256 checksum
How to use checksums
ca72637f7afda44ac0bd83f8dd08505614f67e6bf4c63767a5d649bbbdd34909
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL swgo_wave-0.3.1-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
4b82092bb63edccb327bd516b2fd3910b7b647c15616f2e0eea7fbf701f89761
BLAKE2b-256 checksum
How to use checksums
078a9118a02322d61ff974dda3bf030f0b2b13711bfad2cff43a705b6d1c592e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / swgo_wave-0.3.1-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.3.1-cp312-cp312-manylinux_2_28_x86_64.whl
Size 440.0 kB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fda6ddcb48171677b5c875ae85d60ca4dae700018aedc7067e9a66af9bc0f8cc
BLAKE2b-256 checksum
How to use checksums
a1ed02023172d5e4823f610e658719b698df8ad2902b5b97d2a4ff347c06c642
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL swgo_wave-0.3.1-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
397d33b2fd548212064fae418125398450dd78a06588b70b8f7cacfa1ec29903
BLAKE2b-256 checksum
How to use checksums
eccd8ead76f00b40373be90610384ae23dbca257f6ef65a2840b9bdc7968cd80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / swgo_wave-0.3.1-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.3.1-cp311-cp311-manylinux_2_28_x86_64.whl
Size 433.2 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d875c21a76b33b73d28f1a3fb209a56dd8941d1fb62fce4e3efbeb9b7f3312ec
BLAKE2b-256 checksum
How to use checksums
b9090491a98dd18e16660a87631833650706404421b61b75e4256b7ee33ba0d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL swgo_wave-0.3.1-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
48ae67b8a1331ec9cdee8448a31a7600370beb8ce9c062d1787ed4f7d4b5972b
BLAKE2b-256 checksum
How to use checksums
9e781066d378444408559f0cd3148ebc9666c7fbf1003096f46d39b0a5104526
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / swgo_wave-0.3.1-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.3.1-cp310-cp310-manylinux_2_28_x86_64.whl
Size 433.2 kB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
98144217be1a63f74ce0a39c1dc9c260e9365e6a0a9da64ac04f161671b7144e
BLAKE2b-256 checksum
How to use checksums
a7488778d0dd3770bd53d269808cd8e7f21196d57d196da1d4bde776983d686a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL swgo_wave-0.3.1-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
e6a6b918d9edf0dcf1a66e312b76b44a541be205629e0eebb153cc773d7fdeb4
BLAKE2b-256 checksum
How to use checksums
dbc507335c9c916098ed6fc4aef4da24790647fe40fa4afd3b5cf5d28eea155e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / swgo_wave-0.3.1-cp39-cp39-manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.3.1-cp39-cp39-manylinux_2_28_x86_64.whl
Size 432.7 kB
Tags CPython 3.9 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d8a556920b575d6ac4d05257806dd210fcf9a5c0d75591da6529161d96f0dfc6
BLAKE2b-256 checksum
How to use checksums
0bf3af3ec42af7573b36e5d6016c4cf3ef2d3fe3fd7699332e27d75bb60db13c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for swgo-wave 0.3.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.

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