Skip to main content

Utilities for XSuite, focused on accelerator specific tools

Project description

FCC Lattice Simulation Toolkit

A Python package for constructing and simulating FCC-ee lattices using XSuite and MAD-X.

Features

  • Lattice Construction: Build FCC lattices from MAD-X sequences
  • Beam Dynamics: Configure beam parameters and optics
  • Injection Modeling: Realistic injection scenarios
  • Tracking: Particle tracking with synchrotron radiation
  • Analysis: Tools for lattice diagnostics and optimization

Installation

Installation

pip install xutil

Development Installation

git clone https://gitlab.cern.ch/kskoufar/xutil.git
cd xutil
pip install -e ".[dev,doc]"

Development

Building the Package

To build the package locally:

# Install build dependencies
pip install build twine

# Build the package
python -m build

# The built packages will be in the dist/ directory

Publishing to PyPI

To publish to the main PyPI repository:

python -m twine upload dist/*

# Or for the test repo
python -m twine upload --repository testpypi dist/*

Documentation

Full documentation is available at: https://xutil.readthedocs.io

To build documentation locally:

cd docs
make html
open ./build/html/index.html

Contributing

We welcome contributions! Please:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/your-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin feature/your-feature)
  5. Open a Merge Request

Citation

@software{xutil,
  author = {Kyriacos Skoufaris, Giulia Nigrelli, Maël Le Garrec},
  title = {Xutil - FCC Lattice Simulation Toolkit},
  year = {2025},
  publisher = {GitLab},
  journal = {GitLab repository},
  howpublished = {\url{https://gitlab.cern.ch/kskoufar/xutil}},
  version = {0.1.0}
}

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

xsuite_utils-0.1.0-py3-none-any.whl (57.4 kB view details)

Uploaded Python 3

File details

Details for the file xsuite_utils-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: xsuite_utils-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 57.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for xsuite_utils-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1491e0b120a8530163f3477aff121ddfc21b4503a7a8687ad58a56e4d1d396b7
MD5 b618335df62d100d0da01fdc8b0e31e5
BLAKE2b-256 54ca03e6b33f7e325342dab70b58c7d53aa134e6cee2fd93cdd5817488ec0336

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