{"id":31225158,"url":"https://github.com/pylhc/pylhc","last_synced_at":"2026-03-12T15:00:57.038Z","repository":{"id":2831955,"uuid":"2643110","full_name":"pylhc/PyLHC","owner":"pylhc","description":"Additional tools for particle accelerator data analysis and machine information","archived":false,"fork":false,"pushed_at":"2026-02-12T07:18:19.000Z","size":114200,"stargazers_count":4,"open_issues_count":4,"forks_count":2,"subscribers_count":14,"default_branch":"master","last_synced_at":"2026-02-12T16:46:39.706Z","etag":null,"topics":["analysis","cern","lhc","omc","optics","particle-accelerators","pylhc","python"],"latest_commit_sha":null,"homepage":"https://pylhc.github.io/PyLHC/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pylhc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":".zenodo.json","notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2011-10-25T12:11:50.000Z","updated_at":"2026-02-02T12:23:13.000Z","dependencies_parsed_at":"2025-09-22T00:41:12.810Z","dependency_job_id":"f2aef67a-dd68-4df0-be40-ae694a658a7e","html_url":"https://github.com/pylhc/PyLHC","commit_stats":{"total_commits":117,"total_committers":8,"mean_commits":14.625,"dds":0.7777777777777778,"last_synced_commit":"1c924c3c843154537fdea5853a4ae82f5f914423"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/pylhc/PyLHC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pylhc%2FPyLHC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pylhc%2FPyLHC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pylhc%2FPyLHC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pylhc%2FPyLHC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pylhc","download_url":"https://codeload.github.com/pylhc/PyLHC/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pylhc%2FPyLHC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30429285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis","cern","lhc","omc","optics","particle-accelerators","pylhc","python"],"created_at":"2025-09-22T00:41:01.349Z","updated_at":"2026-03-12T15:00:57.022Z","avatar_url":"https://github.com/pylhc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"https://raw.githubusercontent.com/pylhc/pylhc.github.io/master/docs/assets/logos/OMC_logo.svg\" height=\"28\" alt=\"omc3 logo\"\u003e PyLHC Tools\n\n[![Tests](https://github.com/pylhc/PyLHC/actions/workflows/coverage.yml/badge.svg?branch=master)](https://github.com/pylhc/PyLHC/actions/workflows/coverage.yml)\n[![GitHub last commit](https://img.shields.io/github/last-commit/pylhc/PyLHC.svg?style=popout)](https://github.com/pylhc/PyLHC/)\n[![PyPI Version](https://img.shields.io/pypi/v/PyLHC?label=PyPI\u0026logo=pypi)](https://pypi.org/project/PyLHC/)\n[![GitHub release](https://img.shields.io/github/release/pylhc/PyLHC.svg?style=popout)](https://github.com/pylhc/PyLHC/)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5643602.svg)](https://doi.org/10.5281/zenodo.5643602)\n\nThis package provides tools for particle accelerator physics complementing the optics measurement analysis tools of the [omc3 package](https://github.com/pylhc/omc3).\nIt is a collection of useful scripts for the Optics Measurements and Corrections team (OMC) at CERN, with functionality for data analysis, corrections calculation, simulations management and machine information extraction.\n\n## Documentation\n\n- Autogenerated docs via `Sphinx` can be found at \u003chttps://pylhc.github.io/PyLHC/\u003e.\n- General documentation of the OMC-Team is located at \u003chttps://pylhc.github.io/\u003e\n\n## Installing\n\nThis package is `Python 3.7+` compatible, and can be installed through `pip`:\n\n```bash\npython -m pip install pylhc\n```\n\nAfter installing, scripts can be run with either `python -m pylhc.SCRIPT --FLAG ARGUMENT` or by calling the Python files directly.\n\nFor development purposes, we recommend creating a new virtual environment and installing from VCS in editable mode with all extra dependencies:\n\n```bash\ngit clone https://github.com/pylhc/pylhc\npython -m pip install --editable \"pylhc[all]\"\n```\n\n**Note:** Some scripts access functionality only available on the CERN Technical Network.\nTo use those, you should make sure to install the relevant extra dependencies with `python -m pip install \"pylhc[cern]\"`.\n\n## Functionality\n\n- `Forced DA Analysis` - Script to analyze forced DA. ([**forced_da_analysis.py**](pylhc/forced_da_analysis.py))\n- `Machine Settings Info` - Prints an overview over the machine settings at a given time. ([**machine_settings_info.py**](pylhc/machine_settings_info.py))\n- `KickGroup Information` - Get information about KickGroups. ([**kickgroups.py**](pylhc/kickgroups.py))\n- `BSRT Logger` and `BSRT Analysis` - Saves data coming straight from LHC BSRT FESA class and allows subsequent analysis. ([**bsrt_logger.py**](pylhc/bsrt_logger.py) \u0026 [**bsrt_analysis.py**](pylhc/bsrt_analysis.py) )\n- `BPM Calibration Factors` - Compute the BPM calibration factors using ballistic optics. Two methods are available: using the beta function and using the dispersion. ([**bpm_calibration.py**](pylhc/bpm_calibration.py))\n\n## License\n\nThis project is licensed under the `MIT` License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpylhc%2Fpylhc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpylhc%2Fpylhc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpylhc%2Fpylhc/lists"}