Skip to main content

A small package that provides functions to check the observables in a collider, using a collider built with Xsuite.

Project description

collider-check Package

PyPI - Version GitHub commits since latest release GitHub Actions Workflow Status GitHub License PyPI - Python Version

Overview

A small package that provides functions to check the observables in a collider, using a collider built with Xsuite as input (must be a json file). Very useful for debugging purposes before/after tracking, and used as a backend of the simulation dashboard.

Installation

The package is available from PyPI, so you can install it with pip:

pip install collider-check

Usage

You can import the package in your python script and load a collider with:

import collider_check
check = collider_check.from_json("path/to/collider.json")

To get a quick summary of the collider observables, use:

check.output_check_as_str('output.txt')

License

This package is distributed under the MIT License. See LICENSE for more information.

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

collider_check-0.3.1.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

collider_check-0.3.1-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file collider_check-0.3.1.tar.gz.

File metadata

  • Download URL: collider_check-0.3.1.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.3

File hashes

Hashes for collider_check-0.3.1.tar.gz
Algorithm Hash digest
SHA256 bc9c280dd10061c6d799e8f0185327fed0872884631378c5d6d01c5636cb699d
MD5 92dc3ef246c12e19cc7a12c924233479
BLAKE2b-256 db53336968e9fe3b9808a58c312fd1324dfb82d9f04b5b06336a146afb2107c0

See more details on using hashes here.

File details

Details for the file collider_check-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for collider_check-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a332189b5e2a8a1182f71168432a6cc8c3f2245caf5be2ec3df8ccda88c9b235
MD5 8625c80fb3d66fa851a603920979785b
BLAKE2b-256 c6c69323a69546ec08ee5fabe35775f0f838c89af2d613706915d350d14a3a14

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page