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.85.tar.gz (27.1 kB view details)

Uploaded Source

Built Distributions

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

coolpy-0.0.85-cp313-cp313-macosx_10_13_universal2.whl (222.3 kB view details)

Uploaded CPython 3.13macOS 10.13+ universal2 (ARM64, x86-64)

coolpy-0.0.85-cp312-cp312-macosx_10_13_universal2.whl (222.1 kB view details)

Uploaded CPython 3.12macOS 10.13+ universal2 (ARM64, x86-64)

coolpy-0.0.85-cp311-cp311-macosx_10_9_universal2.whl (217.2 kB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

coolpy-0.0.85-cp310-cp310-macosx_10_9_universal2.whl (214.7 kB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)

File details

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

File metadata

  • Download URL: coolpy-0.0.85.tar.gz
  • Upload date:
  • Size: 27.1 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.85.tar.gz
Algorithm Hash digest
SHA256 7f3a02da9fe3460690ee86ea72057f4d21c12551b66773b3f37741c6e368f947
MD5 bfedfadbfcadef67597a0de37a9b1a1d
BLAKE2b-256 c472a0b2cdbb0ff88845302552af6a6045eeec103134829295d00b659ad8ee75

See more details on using hashes here.

File details

Details for the file coolpy-0.0.85-cp313-cp313-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for coolpy-0.0.85-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 98cb796fc38b84b298730c5242220d89672286de728b3a8e7935105d273376ed
MD5 e69c6395e1519095f0a43610ae051aa8
BLAKE2b-256 a9f24c4d266ebac3f6bcb81799dce2359782b27b2002b59df2aa3d803a7d4056

See more details on using hashes here.

File details

Details for the file coolpy-0.0.85-cp312-cp312-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for coolpy-0.0.85-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 7cc89d4a5808a85db11b4a4e87696cd21da3091b173f1833383b39e231cd27fb
MD5 63a8d230e562dc8024189730c877141e
BLAKE2b-256 6db615da36524926dcfce8994c65a4fa72dac31dd676a36d4d946787dc94c6f2

See more details on using hashes here.

File details

Details for the file coolpy-0.0.85-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for coolpy-0.0.85-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c70dc6d7ce2ffd5a33bbedbbef02c41f439aab0cbcab7ec0d426717c11d25472
MD5 3248d9861d0c1bdf41a0b67b4ee137f9
BLAKE2b-256 0867824e40507bf6e210ecae6a60a6f4641d051dd11369e511873a483384fcf0

See more details on using hashes here.

File details

Details for the file coolpy-0.0.85-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for coolpy-0.0.85-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c42dc18beb1955008d38ccb248780124f7268447b757ebe354f0201a87b77e6a
MD5 19e3bc9339042a2df959d244f9c221af
BLAKE2b-256 cb4ba07d70e67db70537724d14ecb0a33320343a6477b34c1fccea64cde0268c

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