Registry / analytics / laddu-cpu

laddu-cpu

JSON →
library0.19.6pypypi✓ verified 80d ago

Python bindings for laddu, a library for amplitude analysis of particle physics data. The CPU backend provides NumPy-based operations. Version 0.19.6 supports Python >=3.10. Development is active.

pip install laddu-cpu
INSTALL
IMPORT
SIG · LADDU-CPU
L
laddu-cpu
analyticspythonv0.19.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AllowedPartialWave
from laddu_cpu import AllowedPartialWave
from laddu import Laddu
Dataset
from laddu_cpu import Dataset
from laddu import Laddu
Event
from laddu_cpu import Event
from laddu import Laddu

Basic usage of laddu with CPU backend. Requires numpy.

from laddu import Laddu import numpy as np model = Laddu() # Example: create a simple amplitude model.add_amplitude('s', 'f0(500)') data = np.array([[1.0, 2.0, 3.0]]) result = model.evaluate(data) print(result)
Debug
Known issues
breakingThe CPU backend is separate from the GPU backend. Installation of laddu-cpu does not provide CUDA support.
fix
Use laddu-gpu for GPU support.
affects: >=0.19.0
gotchaAlways import from 'laddu' not 'laddu_cpu'. The backend is selected at installation time.
fix
Use 'from laddu import Laddu'.
affects: all
Upgrade
Version history
0.19.6latest on PyPI · released May 22, 2026
Audit
Dependencies
numpyrequiredCore numerical operations
laddurequiredMain package required
Agent activity
23 hits · last 30 days
node
20
Amazon
1
OpenAI (training)
1
Resources
laddu-cpu — pip install laddu-cpu · libregistry