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

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.87
File Size Uploaded
coolpy-0.0.87.tar.gz 27.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for coolpy 0.0.87
File Interpreter ABI Platform
coolpy-0.0.87-cp310-cp310-macosx_11_0_x86_64.whl CPython 3.10 CPython 3.10 macOS 11.0+ x86-64 Details

Total release size: 144.0 kB

Release files / coolpy-0.0.87.tar.gz

Download URL coolpy-0.0.87.tar.gz
Size 27.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2f564070f255443ace9aec5a40bc7c04c7405c0d36e638c5abf068b069402a00
BLAKE2b-256 checksum
How to use checksums
2c06353f0c7f2dfab6a3a9e0a6c58d34a3db65fac779b37bac1b8ddf9d98a9c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release files / coolpy-0.0.87-cp310-cp310-macosx_11_0_x86_64.whl

Download URL coolpy-0.0.87-cp310-cp310-macosx_11_0_x86_64.whl
Size 116.4 kB
Tags CPython 3.10 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
223395e1fec74633447444089d493c72937a21eb914adbe412d1c92fcfa726c7
BLAKE2b-256 checksum
How to use checksums
fb93ce6cff09b5f8894fb5d5b27ee9987f89a80cc398b97f2a42883b54bf39f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.20

Release history Release notifications | RSS feed

0.0.89

5 release files

0.0.88

5 release files

This release

0.0.87 This release

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