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.84.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.84-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.84.tar.gz.

File metadata

  • Download URL: coolpy-0.0.84.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.84.tar.gz
Algorithm Hash digest
SHA256 be0e0c2eebcc473832b77647a9f90ee49095f4be62a0a551e65ff598d5c0871a
MD5 5ac6f8abc2b3683c6479a513de30b56b
BLAKE2b-256 7bef45e42ad09af8b4a4c16c8a6c36d5e904cea4aafd635f4283437387f4f454

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coolpy-0.0.84-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 2d5b6df3ab3fc473aaa1500254dfd844a6708fc37f24db6ee522c643065ecda9
MD5 d916d74d26e44a89e6822052c04c61ab
BLAKE2b-256 6afcf95531e49471d59ba694ab9ff8c5278594fc6f1dd9dbc878e23de3540f81

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