Skip to main content

python accelerator middle layer

Project description

accml: Accelerator middle layer

accml is a software stack designed to facilitate implementing tools characterising (high) energy charged accelerator.

These tools typically address:

  • characterising an accelerator
  • commissioning of an accelerator
  • forecasting the performance of an accelerator, which is currently under design.

For details of its concept see design.md.

🚀 Installation and Running Instructions

1. Clone the Repository

git clone https://github.com/python-accelerator-middle-layer/accml.git
cd accml

### 2. Install Dependencies
```bash  
git checkout dev/main

git submodule update --init --recursive

3. Install the Package

python3 -m pip install -e .

4. Run the Virtual Accelerator (Test bench) --EPICS VERSION

apptainer run oras://registry.hzdr.de/digital-twins-for-accelerators/containers/pyat-softioc-digital-twin:v0-1-2-bessy.2475331

Keep this terminal running — it simulates a virtual accelerator backend.

5. Run the pyAML Client (example)

cd examples/tune
python3 tune_response_measurement.py

4.1 Run the Virtual Accelerator (Test bench) --TANGO VERSION

4.1.1 Assuming mysql is runnig. or run below my sql container

where is mysql container
apptainer run oras://registry.hzdr.de/digital-twins-for-accelerators/containers/pyat-tango-digital-twin:v0-1-0.2554955

Keep this terminal running — it simulates a virtual accelerator backend.

5.1 Run the pyAML Client (example)

cd examples/tune

Comment line 14 and uncomment line 15 in tune_response_measurement.py. Then it should look like this:

# from accml.custom.accml_lib.bessyii.setup import setup
from accml.custom.accml_lib.bessyii_on_tango.setup import setup

Now you can execute on the command line:

execute:

python3 tune_response_measurement.py

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

accml-0.1.0.tar.gz (34.1 kB view details)

Uploaded Source

Built Distribution

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

accml-0.1.0-py3-none-any.whl (57.5 kB view details)

Uploaded Python 3

File details

Details for the file accml-0.1.0.tar.gz.

File metadata

  • Download URL: accml-0.1.0.tar.gz
  • Upload date:
  • Size: 34.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for accml-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ae415ef314348d04e3e053bbda57882a0b41fbe03ce0e9c286307d32a90d8625
MD5 ac114545ae59aec7d300f390dca92be7
BLAKE2b-256 f38526a83c41dcbd2ec992a103af46ec628b6db0db4d904b27c9ef4812f7ff59

See more details on using hashes here.

Provenance

The following attestation bundles were made for accml-0.1.0.tar.gz:

Publisher: pypi-publish.yml on python-accelerator-middle-layer/accml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: accml-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 57.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for accml-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22afe68012023b13de14a3c6226af13bd82f2cd2bc00e9aedfa2bbbc03a82c57
MD5 c5bb5926c6d4a9e7d239b06a1065f041
BLAKE2b-256 ad0e520c97cdf231cb734db73daa8068adf698428b73ca68336800f0fee0b7bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for accml-0.1.0-py3-none-any.whl:

Publisher: pypi-publish.yml on python-accelerator-middle-layer/accml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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