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.10 – 3.13.

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.86.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.86-cp314-cp314-macosx_10_15_universal2.whl (222.7 kB view details)

Uploaded CPython 3.14macOS 10.15+ universal2 (ARM64, x86-64)

coolpy-0.0.86-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.86-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.86-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.86-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.86.tar.gz.

File metadata

  • Download URL: coolpy-0.0.86.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.86.tar.gz
Algorithm Hash digest
SHA256 115eabf18321b9f3cd0dbbe234bb72b6b147453d8ecea43ab8ed129ed3a62291
MD5 f8b6e8de358b675eecf2cde96a422068
BLAKE2b-256 ff8c07802169689c981decef9c9a64ccdd155527e7e35c1adf3ad469d5b1dbcc

See more details on using hashes here.

File details

Details for the file coolpy-0.0.86-cp314-cp314-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for coolpy-0.0.86-cp314-cp314-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 738bcb4ae85b189ca0623c06be85b62da17d8f58f0873fda4bdf28c8905f0d9a
MD5 5143a2f37f2f57999ba9fab3319970e0
BLAKE2b-256 b7080c254f07598bc7391c90158a25d40170fa03984997a0e148dc6176e2c386

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coolpy-0.0.86-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 7a682b39aa1dcedf0a39b616189061fc82f04586c561930154ac975bfcd5e45b
MD5 bb612b7aaf30a040a8f1a9663e6fc7c6
BLAKE2b-256 511d81d5a5663eb3d633952e21e9d91ba1f85a808365f98d9ea0ed9b9db196b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coolpy-0.0.86-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 e9c4bfe151322279cafa4397667bef069e5f0886d38a1b63d2dbd4fbe3c27e4c
MD5 8cca27ad8ae08ae090a7d7ddf5a41024
BLAKE2b-256 419ee7171be6aa4349b18db7327dedc1b6a6b5d9f6f51ea4cf1fe23d2d3d797a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coolpy-0.0.86-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 0f0a98af85868d9d6324419e3fcd2082805eb2467e456b5fd023bdb38707b273
MD5 3fbe5e49a369c2414945d9dd722a00e8
BLAKE2b-256 ffa7c95c6ad7a01e245ba3df52441114aa89b729dafa03f9aeec92b02d53af06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coolpy-0.0.86-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 8c4f281d2185c73430f8f414d72f3b62f7027ac53fafa46a4871c1d8ce256d9e
MD5 d313dc06b11ac3329db6aebe5dc4992b
BLAKE2b-256 92b3b8f9411841a087953126d89912370facc4314fa087182452e8439a9ca93f

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