Skip to main content

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.

Metadata

Release files for xsuite-utils 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for xsuite-utils 0.1.0
File Interpreter ABI Platform
xsuite_utils-0.1.0-py3-none-any.whl Python 3 none any Details

Release files / xsuite_utils-0.1.0-py3-none-any.whl

Download URL xsuite_utils-0.1.0-py3-none-any.whl
Size 57.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1491e0b120a8530163f3477aff121ddfc21b4503a7a8687ad58a56e4d1d396b7
BLAKE2b-256 checksum
How to use checksums
54ca03e6b33f7e325342dab70b58c7d53aa134e6cee2fd93cdd5817488ec0336
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page