Skip to main content

CoolPy: accelerator physics utilities

Project description

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.8 – 3.12.

Install coolpy from PyPI using:

pip install coolpy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coolpy-0.0.83.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coolpy-0.0.83-cp310-cp310-macosx_11_0_x86_64.whl (115.0 kB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

File details

Details for the file coolpy-0.0.83.tar.gz.

File metadata

  • Download URL: coolpy-0.0.83.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for coolpy-0.0.83.tar.gz
Algorithm Hash digest
SHA256 7a5a7ba1856e78a6e0233e981b6a1f29745b8c6f0c6bfc24300f1b7d3bbff390
MD5 7619ea02bd74fd4c0e89f74ab1f4c59f
BLAKE2b-256 7af748b4af3cece08ec26ef4596f2abbdcdae8e18f97e3c35fc1305e6b8d33bf

See more details on using hashes here.

File details

Details for the file coolpy-0.0.83-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for coolpy-0.0.83-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 0cade8efa03d84b006ed98c66d60b232e444302fe5a6de9d33e1313c3a3774c9
MD5 1f96976303b228328338f1dd4712fa06
BLAKE2b-256 b7d6360f3af8d8e9e739c26a77b7a9cc92e38a94c398b82e5e13d562b4d956a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page