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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae415ef314348d04e3e053bbda57882a0b41fbe03ce0e9c286307d32a90d8625
|
|
| MD5 |
ac114545ae59aec7d300f390dca92be7
|
|
| BLAKE2b-256 |
f38526a83c41dcbd2ec992a103af46ec628b6db0db4d904b27c9ef4812f7ff59
|
Provenance
The following attestation bundles were made for accml-0.1.0.tar.gz:
Publisher:
pypi-publish.yml on python-accelerator-middle-layer/accml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
accml-0.1.0.tar.gz -
Subject digest:
ae415ef314348d04e3e053bbda57882a0b41fbe03ce0e9c286307d32a90d8625 - Sigstore transparency entry: 814206112
- Sigstore integration time:
-
Permalink:
python-accelerator-middle-layer/accml@8d44d10d5cd565ba34f863039f0b90f0eb12529a -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/python-accelerator-middle-layer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@8d44d10d5cd565ba34f863039f0b90f0eb12529a -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22afe68012023b13de14a3c6226af13bd82f2cd2bc00e9aedfa2bbbc03a82c57
|
|
| MD5 |
c5bb5926c6d4a9e7d239b06a1065f041
|
|
| BLAKE2b-256 |
ad0e520c97cdf231cb734db73daa8068adf698428b73ca68336800f0fee0b7bd
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
accml-0.1.0-py3-none-any.whl -
Subject digest:
22afe68012023b13de14a3c6226af13bd82f2cd2bc00e9aedfa2bbbc03a82c57 - Sigstore transparency entry: 814206115
- Sigstore integration time:
-
Permalink:
python-accelerator-middle-layer/accml@8d44d10d5cd565ba34f863039f0b90f0eb12529a -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/python-accelerator-middle-layer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@8d44d10d5cd565ba34f863039f0b90f0eb12529a -
Trigger Event:
push
-
Statement type: