coolpy
The software 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.10 – 3.13.
Install coolpy from PyPI using:
pip install coolpy
Metadata
Release files for coolpy 0.0.89
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| coolpy-0.0.89.tar.gz | 27.8 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| coolpy-0.0.89-cp313-cp313-macosx_10_13_universal2.whl | CPython 3.13 | CPython 3.13 | macOS 10.13+ universal2 (ARM64, x86-64) | Details |
| coolpy-0.0.89-cp312-cp312-macosx_10_13_universal2.whl | CPython 3.12 | CPython 3.12 | macOS 10.13+ universal2 (ARM64, x86-64) | Details |
| coolpy-0.0.89-cp311-cp311-macosx_10_9_universal2.whl | CPython 3.11 | CPython 3.11 | macOS 10.9+ universal2 (ARM64, x86-64) | Details |
| coolpy-0.0.89-cp310-cp310-macosx_10_9_universal2.whl | CPython 3.10 | CPython 3.10 | macOS 10.9+ universal2 (ARM64, x86-64) | Details |
Total release size: 955.0 kB
Release files / coolpy-0.0.89.tar.gz
| Download URL | coolpy-0.0.89.tar.gz |
|---|---|
| Size | 27.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10fc49ba746f64449e8644954cab4aa73257f10d6d8f0c90282c7dcbce7805ba
|
|
BLAKE2b-256 checksum How to use checksums |
07cbd2bb066b12f951c5f1cf32a9b763853085a462fcf58cea36ca329843d72a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / coolpy-0.0.89-cp313-cp313-macosx_10_13_universal2.whl
| Download URL | coolpy-0.0.89-cp313-cp313-macosx_10_13_universal2.whl |
|---|---|
| Size | 235.1 kB |
| Tags | CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
f3a81dc51b6887a026d7c6cac30b38bf733668f9ca4428c18a73905fd2e61282
|
|
BLAKE2b-256 checksum How to use checksums |
2650cc44cfaf3d9c8995a907c370f480a633bc3f31f399f23f2caeed9e0a17ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / coolpy-0.0.89-cp312-cp312-macosx_10_13_universal2.whl
| Download URL | coolpy-0.0.89-cp312-cp312-macosx_10_13_universal2.whl |
|---|---|
| Size | 235.0 kB |
| Tags | CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
8718972c609a74143c3ddde283925db74bd78447820dd01480e655d21e9807c2
|
|
BLAKE2b-256 checksum How to use checksums |
a017917f809de76419aaa4592590f57af9513882c93c2e11d018a7f5a912e596
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / coolpy-0.0.89-cp311-cp311-macosx_10_9_universal2.whl
| Download URL | coolpy-0.0.89-cp311-cp311-macosx_10_9_universal2.whl |
|---|---|
| Size | 229.7 kB |
| Tags | CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
4fdc3eae5172c1ed6e9e4d2317f940717e63a4aa16c5971f450fad75a8ee35c4
|
|
BLAKE2b-256 checksum How to use checksums |
1ef7a77dd1eee0ee48c02002a687ad02ae41730c542b2e8640d79d36cbff7e99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / coolpy-0.0.89-cp310-cp310-macosx_10_9_universal2.whl
| Download URL | coolpy-0.0.89-cp310-cp310-macosx_10_9_universal2.whl |
|---|---|
| Size | 227.3 kB |
| Tags | CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
1a353f33c94578cccf540f2fa53762b24dcc426e095ba57510571d9bdc23d654
|
|
BLAKE2b-256 checksum How to use checksums |
b75f642dfd14c72cff0bdb8d3b7e93855a7a2ca51b301ce6562c5b35ff16e03d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|