Skip to main content

CoolPy logo

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

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coolpy 0.0.88
File Size Uploaded
coolpy-0.0.88.tar.gz 27.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for coolpy 0.0.88
File
coolpy-0.0.88-cp313-cp313-macosx_10_13_universal2.whl CPython 3.13 CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64) Details
coolpy-0.0.88-cp312-cp312-macosx_10_13_universal2.whl CPython 3.12 CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64) Details
coolpy-0.0.88-cp311-cp311-macosx_10_9_universal2.whl CPython 3.11 CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) Details
coolpy-0.0.88-cp310-cp310-macosx_10_9_universal2.whl CPython 3.10 CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) Details

Total release size: 954.2 kB

Release files / coolpy-0.0.88.tar.gz

Download URL coolpy-0.0.88.tar.gz
Size 27.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f2abcbc7bd54be6614c1c71d6a36feeea96962954a91f81fc3f84c19090f8703
BLAKE2b-256 checksum
How to use checksums
0df13b805c6e74e2ee7d12db196bffd9ce70106866b45edc6e4899086b317239
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.88-cp313-cp313-macosx_10_13_universal2.whl

Download URL coolpy-0.0.88-cp313-cp313-macosx_10_13_universal2.whl
Size 235.0 kB
Tags CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
d8f829c723e64e02367afc338c6c5d413d7264b254ae46ea5d9437056c733384
BLAKE2b-256 checksum
How to use checksums
326f306103b32b497c4583b68653f52b3f6c4131841d7a01ed137663e93bf8e6
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.88-cp312-cp312-macosx_10_13_universal2.whl

Download URL coolpy-0.0.88-cp312-cp312-macosx_10_13_universal2.whl
Size 234.9 kB
Tags CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
90adf46d0bf86e35f00b68924f1f1caec528fa22203fe072c7242ad31db7c9b9
BLAKE2b-256 checksum
How to use checksums
b704b78b379197f96da68851bcb9f885df5950773b129c19691f4fd2b70a4399
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.88-cp311-cp311-macosx_10_9_universal2.whl

Download URL coolpy-0.0.88-cp311-cp311-macosx_10_9_universal2.whl
Size 229.6 kB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
34413f4248de6ef7419139b657930a2dad121b470f250b4adbbe0a8bfb1b0574
BLAKE2b-256 checksum
How to use checksums
741a11e75c6c4c22b2263ab4295a1bf7f633bf25f6073f004fb4c9ea8fa0ca43
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.88-cp310-cp310-macosx_10_9_universal2.whl

Download URL coolpy-0.0.88-cp310-cp310-macosx_10_9_universal2.whl
Size 227.1 kB
Tags CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
03cea98e9b0932f8e6de167d389b24b8725e91155ad5739ed9fc466bea94bba0
BLAKE2b-256 checksum
How to use checksums
fd3b9a4d2da84e102513a2689d1c60e2f1032a23d17cda58789565b701131956
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Release history Release notifications | RSS feed

0.0.89

5 release files

This release

0.0.88 This release

5 release files

0.0.87

2 release files

0.0.86

6 release files

0.0.85

5 release files

0.0.84

2 release files

0.0.83

2 release files

0.0.80

2 release files

0.0.79

2 release files

0.0.78

2 release files

0.0.77

2 release files

0.0.75

2 release files

0.0.74

2 release files

0.0.73

2 release files

0.0.72

2 release files

0.0.71

2 release files

0.0.66

2 release files

0.0.65

2 release files

0.0.61

2 release files

0.0.60

2 release files

0.0.59

2 release files

0.0.58

2 release files

0.0.57

2 release files

0.0.56

2 release files

0.0.55

2 release files

0.0.54

2 release files

0.0.53

2 release files

0.0.47

3 release files

0.0.46

2 release files

0.0.45

2 release files

0.0.41

2 release files

0.0.40

2 release files

0.0.39

2 release files

0.0.38

2 release files

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