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

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.0
File Actions
swgo_wave-0.3.0-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.0-cp314-cp314t-musllinux_1_2_x86_64.whl
swgo_wave-0.3.0-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.0-cp314-cp314t-manylinux_2_28_x86_64.whl
swgo_wave-0.3.0-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.0-cp314-cp314-musllinux_1_2_x86_64.whl
swgo_wave-0.3.0-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.0-cp314-cp314-manylinux_2_28_x86_64.whl
swgo_wave-0.3.0-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.0-cp313-cp313-musllinux_1_2_x86_64.whl
swgo_wave-0.3.0-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.0-cp313-cp313-manylinux_2_28_x86_64.whl
swgo_wave-0.3.0-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.0-cp312-cp312-musllinux_1_2_x86_64.whl
swgo_wave-0.3.0-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.0-cp312-cp312-manylinux_2_28_x86_64.whl
swgo_wave-0.3.0-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.0-cp311-cp311-musllinux_1_2_x86_64.whl
swgo_wave-0.3.0-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.0-cp311-cp311-manylinux_2_28_x86_64.whl
swgo_wave-0.3.0-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.0-cp310-cp310-musllinux_1_2_x86_64.whl
swgo_wave-0.3.0-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.0-cp310-cp310-manylinux_2_28_x86_64.whl
swgo_wave-0.3.0-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.0-cp39-cp39-musllinux_1_2_x86_64.whl
swgo_wave-0.3.0-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.0-cp39-cp39-manylinux_2_28_x86_64.whl

Total release size: 12.8 MB

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

Download URL swgo_wave-0.3.0-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
3b88be4ada4205936d55596a510ef728736be5df19cd8f1db903fe5bece40b9b
BLAKE2b-256 checksum
How to use checksums
97759bb814dece8c99ffd463bfb96c7e57efd5d82eef62dddb2861490b771472
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.0-cp314-cp314t-manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.3.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Size 415.2 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
1e82769dea4dc741ac9acec2e035afa47b2454638c77cac120b816a60992f310
BLAKE2b-256 checksum
How to use checksums
6764d20b8e76cd80ca3bba6a52ef5cf9bccceb19941cde76ba6effdbe67d3c9b
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.0-cp314-cp314-musllinux_1_2_x86_64.whl

Download URL swgo_wave-0.3.0-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
adf5fb13cf8c45e209db573b37dbad0080707c0490b8b424645b71232a893a47
BLAKE2b-256 checksum
How to use checksums
1c787907eceb59d094bfd92aa5892b046abc11c94cc91675031340c8d4fa47fc
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.0-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.3.0-cp314-cp314-manylinux_2_28_x86_64.whl
Size 412.3 kB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5e203724a3d8dad4d813732fba771cc1ee0f33280f10469df766c4ba8fce3db8
BLAKE2b-256 checksum
How to use checksums
cd7f2ab9400aae1b613d98ad7b923079e888baa30562e1812609a7a96a06aee1
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.0-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL swgo_wave-0.3.0-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
ff43417c8b263a6a1796ebeab1a0978a2400bc8a58eddef914ee98a81daf1552
BLAKE2b-256 checksum
How to use checksums
9c7ae89e16fe7a57376525ddf8d2eaad35f2c2e9627cd8e27f01f6045d50c289
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.0-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.3.0-cp313-cp313-manylinux_2_28_x86_64.whl
Size 411.3 kB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
58ab997ec30deb19617bcf67b2515fd5cefe2ea2aa2303da5bd3e23db4893af6
BLAKE2b-256 checksum
How to use checksums
5a78eabe0f7a805460cff96c8e657bfd8f40b56c2680f57aa3ad89b4aa88ebe6
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.0-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL swgo_wave-0.3.0-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
b018cd8e54f3512e8f07abc4f1968a0bd0bb52533ee564fac05e74b8ee2719e8
BLAKE2b-256 checksum
How to use checksums
b46e5bad653e5471f6fd18751ba8f300d676e60b1431c80f87e0df013f123b0f
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.0-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.3.0-cp312-cp312-manylinux_2_28_x86_64.whl
Size 411.2 kB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8c1a4767ed940de218f3c8ef79cee8e341c19e1b63c603c6c85a976915fa43dd
BLAKE2b-256 checksum
How to use checksums
d46759756d9c5df6f5ac1f0415764ae03875f062173d1c09db724616519307ed
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.0-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL swgo_wave-0.3.0-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
268027935504bdd06767ffdb51b949d560f720b8b09c031932cc25a243735578
BLAKE2b-256 checksum
How to use checksums
f2b64354b7f288bdf898d4fb803bdf19ba8323b9d3a1aa59f10cd9fcc06acfcd
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.0-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.3.0-cp311-cp311-manylinux_2_28_x86_64.whl
Size 404.7 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9ceb69e656420d987e4638df96feb35fb5bddc0e383be21c14e6ddb8d6d16783
BLAKE2b-256 checksum
How to use checksums
fee59bd87d606bc1deecebc6a9856ca7998f69225c7f19ea94d87727cdd042a7
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.0-cp310-cp310-musllinux_1_2_x86_64.whl

Download URL swgo_wave-0.3.0-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
0ae5f6f28d855432e03b8afaa916657b9f352319856a19fdc83d753839432ce0
BLAKE2b-256 checksum
How to use checksums
e136db9a87ee08402fe9ccf9cc9aa076f0235f398a5b05036bec7a693add4204
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.0-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.3.0-cp310-cp310-manylinux_2_28_x86_64.whl
Size 403.6 kB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
1275ff3b5975fa4a1353403043c6ad16d2408201e36bfd9daaba1621a41bd613
BLAKE2b-256 checksum
How to use checksums
e5655c33c160c31d7cc5c50276da579233ba76c3798303de56443258c742ab31
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.0-cp39-cp39-musllinux_1_2_x86_64.whl

Download URL swgo_wave-0.3.0-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
dfbc7cc60fba2e6470d3ed0de64e604c411e3685c4745b3d9009839dc9148d5d
BLAKE2b-256 checksum
How to use checksums
3994b55e7449d40b8a015026bd1c79b39be2db0c905f9bcc98897c3ac3f0a544
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.0-cp39-cp39-manylinux_2_28_x86_64.whl

Download URL swgo_wave-0.3.0-cp39-cp39-manylinux_2_28_x86_64.whl
Size 404.4 kB
Tags CPython 3.9 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f8b776dda0943574d078361dc672125ff5764a6a621c64a1e521dac78bbe0084
BLAKE2b-256 checksum
How to use checksums
0d7c97a42ff8b0f5c491515df2d431e3c4397243a13b8e60d2d3c296f03d900c
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.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