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

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.89
File Size Uploaded
coolpy-0.0.89.tar.gz 27.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for coolpy 0.0.89
File
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

Release history Release notifications | RSS feed

This release

0.0.89 This release

5 release files

0.0.88

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