Skip to main content

Photo-electron pulse extraction: fast PMT/SiPM waveform charge & timing extraction for Python.

Project description

phepex — photo-electron pulse extraction

Fast numeric kernels for extracting charge and timing from digitised PMT/SiPM waveforms (e.g. Cherenkov telescopes or Water Cherenkov Detectors): pole-zero deconvolution + upsampling, neighbour-sum peak finding, soft clipping, window integration and leading-edge timing — plus a fast waveform generator for testing.

The heavy lifting runs in a compiled extension; import phepex needs only numpy.

Install

pip install phepex

Usage

import phepex
# phepex.deconvolve, phepex.pos_soft_clip, phepex.neighbor_peak_indices,
# phepex.extract_around_peak, phepex.adaptive_centroid, phepex.generate_waveforms

The ctapipe-integrated phepex.extractor.FastFlashCamExtractor — a drop-in accelerating ctapipe's FlashCamExtractor (typically ~5× faster end-to-end, with bit-exact / ~1e-7 agreement on signal pixels) — lives in a separate submodule imported on demand. It needs the bench extra:

pip install phepex[bench]      # pulls in ctapipe

Documentation

Full API documentation is published to https://phepex.github.io/phepex/.

License

phepex is licensed under the Mozilla Public License 2.0. Copyright © 2026 Max-Planck-Institut für Kernphysik.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phepex-0.1.0.tar.gz (241.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

phepex-0.1.0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (78.7 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

phepex-0.1.0-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (74.0 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

phepex-0.1.0-cp312-abi3-macosx_11_0_arm64.whl (69.0 kB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

phepex-0.1.0-cp312-abi3-macosx_10_13_x86_64.whl (74.4 kB view details)

Uploaded CPython 3.12+macOS 10.13+ x86-64

phepex-0.1.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (83.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

phepex-0.1.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (78.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

phepex-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (72.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

phepex-0.1.0-cp311-cp311-macosx_10_13_x86_64.whl (76.7 kB view details)

Uploaded CPython 3.11macOS 10.13+ x86-64

phepex-0.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (83.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

phepex-0.1.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (78.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

phepex-0.1.0-cp310-cp310-macosx_11_0_arm64.whl (72.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

phepex-0.1.0-cp310-cp310-macosx_10_13_x86_64.whl (77.0 kB view details)

Uploaded CPython 3.10macOS 10.13+ x86-64

File details

Details for the file phepex-0.1.0.tar.gz.

File metadata

  • Download URL: phepex-0.1.0.tar.gz
  • Upload date:
  • Size: 241.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for phepex-0.1.0.tar.gz
Algorithm Hash digest
SHA256 619f2bc9658224c13689867fcabb2e5f7670a8d9afaa36583bb3b29d38597b0f
MD5 dc12a75a2efd62ea4c373bba793f8945
BLAKE2b-256 f434c915fe4582e97cde75115b5c94698832fed6382110c735d99d0d32eadf77

See more details on using hashes here.

Provenance

The following attestation bundles were made for phepex-0.1.0.tar.gz:

Publisher: release.yml on phepex/phepex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phepex-0.1.0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for phepex-0.1.0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d3486b24f9ca079aff5b585741d8ee17ff78c942ed82662a0c0dbd6560642d7a
MD5 90d2d83e7f3ebebd231ee5eb50594b57
BLAKE2b-256 22fe6facf3d2d0264e3064370fec9279054d4dd236a61c6dd566fd2e0d9e5ddb

See more details on using hashes here.

Provenance

The following attestation bundles were made for phepex-0.1.0-cp312-abi3-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on phepex/phepex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phepex-0.1.0-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for phepex-0.1.0-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b61661b50d20ada821e8cc862edbf78e7e0b0c3fccf751f28cf837cfe5d2834d
MD5 c7ccae717e0a23773438ad88883bf7d8
BLAKE2b-256 8e044b27f95c5aa0bb127ce9793e9bc11f30ad37e1d3305f3ed4c78bdb4a6e0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for phepex-0.1.0-cp312-abi3-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: release.yml on phepex/phepex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phepex-0.1.0-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for phepex-0.1.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9ff482ae55701ed43807722275612edaee9121ebeeaefe9e6d3db339316e5ff2
MD5 476d26b144af66f2d7815534cd77153e
BLAKE2b-256 da0520182b394baf6cab0d5aae0f3d6788035a3292d60ec966baec942aa3f30b

See more details on using hashes here.

Provenance

The following attestation bundles were made for phepex-0.1.0-cp312-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on phepex/phepex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phepex-0.1.0-cp312-abi3-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for phepex-0.1.0-cp312-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 7ae9077dacf071a2af92216d1ac75a0826d3a4a795ec0fee5d5dc7f6c6ecc422
MD5 bf27ac38e9f23f4c21adbad1d1fcd51e
BLAKE2b-256 6db0a2921be704998bdaf3181ef02b31afd69f8a07313b23e17385fcb36d3634

See more details on using hashes here.

Provenance

The following attestation bundles were made for phepex-0.1.0-cp312-abi3-macosx_10_13_x86_64.whl:

Publisher: release.yml on phepex/phepex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phepex-0.1.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for phepex-0.1.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 35a580baa025b967daf8346f285d763db7cabcadca52d18207c1ca5c09954ea1
MD5 c57fc391c344fc0c8aa40fc93830daf5
BLAKE2b-256 3f22387abd1aa26d669f4d93079ac73a29c0b0c20d12b4fc6345042dab2fc5db

See more details on using hashes here.

Provenance

The following attestation bundles were made for phepex-0.1.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on phepex/phepex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phepex-0.1.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for phepex-0.1.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 12de179052db6a9d31f3c2e7681fdef369c02e6a6e6c1e2e6e0751b632bb173d
MD5 f952584c519ffd2e51aea668b8bb6958
BLAKE2b-256 d280f80be1a7183cf01479af577617a6e344a1a86029e37e284a395f21eed7b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for phepex-0.1.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: release.yml on phepex/phepex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phepex-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for phepex-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6ca464828329d5a83c164c51b141c6da1b98b4da0017aa490ae02e024cc2f59b
MD5 888e6a5a29bc7a68cafc75db2048a5a6
BLAKE2b-256 bf3bb87c6456c80886fc0f675b9941feb2119498dbff898989f67f68a7477533

See more details on using hashes here.

Provenance

The following attestation bundles were made for phepex-0.1.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: release.yml on phepex/phepex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phepex-0.1.0-cp311-cp311-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for phepex-0.1.0-cp311-cp311-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 68aa6e7052988dc32f7860449706628325e0e8867e25fc546168fd49c28a0339
MD5 b87db4072475bf03efb85e68f7ac6634
BLAKE2b-256 d483dec7fcde8e32b62e334d141bac76bd77842a4af93025430edd51ea2fa60a

See more details on using hashes here.

Provenance

The following attestation bundles were made for phepex-0.1.0-cp311-cp311-macosx_10_13_x86_64.whl:

Publisher: release.yml on phepex/phepex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phepex-0.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for phepex-0.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7121006219e6a5fdc23b8799d32f8b41b962de1dd9e2739c819067f3d736dc41
MD5 c0b0292db116c2c44ac1e6b0e917cba5
BLAKE2b-256 84aebdc9dcdf1ab852e84e673e8a98404133f206a05f80b87507954e1565723a

See more details on using hashes here.

Provenance

The following attestation bundles were made for phepex-0.1.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on phepex/phepex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phepex-0.1.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for phepex-0.1.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4a0b6ccd825bb53d9abc2d1bb05b02c42c2981104287afb24d74d758aa9c06f4
MD5 cb06e56d902f35933003027928e19327
BLAKE2b-256 048f70fca58e1b381a2fd8759750eb94d232a0d13e397fb3291e5261be65f2f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for phepex-0.1.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: release.yml on phepex/phepex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phepex-0.1.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for phepex-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e3f1c0e1d4ff9e95f4548697215ff9f09444fdc0c4e87b3d80b51644d7c8ff3e
MD5 d7465444c7728e15a3dcd288482c6f07
BLAKE2b-256 1c6e2bef83c5a99fd66acd7c5239e6a6bf0e64ba4739095d0933a26179e54638

See more details on using hashes here.

Provenance

The following attestation bundles were made for phepex-0.1.0-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: release.yml on phepex/phepex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phepex-0.1.0-cp310-cp310-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for phepex-0.1.0-cp310-cp310-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ca4c899495f11f21f7bbfbb249ee5ba4a6aff3233a4a788b1be842b0bb83e3da
MD5 5018a1a4b6e59c4f77ab4b5fdd81525a
BLAKE2b-256 8261d0200b642fff0a5d8f97d2bee0d33af474b796a3190499edfde97a725bbc

See more details on using hashes here.

Provenance

The following attestation bundles were made for phepex-0.1.0-cp310-cp310-macosx_10_13_x86_64.whl:

Publisher: release.yml on phepex/phepex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page