CoolPy: accelerator physics utilities
Project description
coolpy
CoolPy is a Python package for muon beam cooling studies, with a particular focus on solenoid matching and ionization cooling lattices.
The package combines high-level Python workflows with performance-critical components written in C++ to accelerate optimization and beam dynamics calculations.
About
CoolPy provides numerical tools for realistic modeling and optimization of solenoid-based ionization cooling channels. It is designed for research and prototyping in low accelerator and muon beam physics, rather than as a turnkey simulation code.
Key features include:
- Realistic solenoid magnetic field calculations based on a semi-analytic current sheet model
- Evaluation of elliptical integrals for off-axis field components, with optimized analytic expressions on the solenoid axis
- Optimization routines based on the Nelder–Mead algorithm, implemented in C++ for ultra fast performance
- Solution of the transverse beam envelope equation using a fourth-order Runge–Kutta integrator, implemented in C++ for accelerating computation
The code is intended to complement existing accelerator simulation tools by providing lightweight, flexible, and transparent matching and optimization routines.
Installation
CoolPy supports Python 3.8 – 3.12.
Install CoolPy from PyPI using:
pip install coolpy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coolpy-0.0.80.tar.gz.
File metadata
- Download URL: coolpy-0.0.80.tar.gz
- Upload date:
- Size: 26.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ff7fef5952c80f14cb78b3cc01486413eadb5bc3608c77a570984f2b7ee1e3a
|
|
| MD5 |
0b11de15aa62b41162c44880f1e6ed48
|
|
| BLAKE2b-256 |
3763e0de070a1f9a3c351981e444427ceef35862b339ce2ab6ce722a04ab96a7
|
File details
Details for the file coolpy-0.0.80-cp310-cp310-macosx_13_0_x86_64.whl.
File metadata
- Download URL: coolpy-0.0.80-cp310-cp310-macosx_13_0_x86_64.whl
- Upload date:
- Size: 111.9 kB
- Tags: CPython 3.10, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0ae747a96a6525b5aa78d710cf6a4d0466d4184ecce70d4368c8f89532c8bf1
|
|
| MD5 |
0afca3adf527686d96f4562995f7de5f
|
|
| BLAKE2b-256 |
61ae128e0c57ab2d121c44cb0f13afe5503c2d8ad7e70753dd6fc7fcfeec52ab
|