accml documentation
Introduction
accml provides a particle accelerator middle layer, which is built using a clean architecture and structured communication. It consists of two main packages: accml it self and the libray accml_lib.
accml_lib contains:
used data models
interface definitions
and all code which is used by client and twin code
- accml contains:
code that is only used by the client
The accml design is described in The Design of accml and accml_lib. Its implementation concepts are give in Implementation.
Installation
pip support will be provided later. For the time being, follow these steps.
First clone the repository:
git clone https://github.com/python-accelerator-middle-layer/accml.git --recurse-submodules
Create a fresh virtual environment (the name venv-accml is just an example):
python3 -m venv venv-accml
Activate the virtual environment. In a Bourne-style shell (e.g. bash) run:
source venv-accml/bin/activate
Now install accml in the activated environment.
For an EPICS facility use:
python3 -m pip install \
'accml[bluesky-epics]' accml \
'accml/external-repositories/accml_lib[bluesky-epics,pyat-simulator]'
For a TANGO facility use:
python3 -m pip install \
'accml[bluesky-tango]' accml \
'accml/external-repositories/accml_lib[bluesky-tango,pyat-simulator]'
Getting started
Have a look to the example directory of accml! Please drop a line for any further information.
API documentation
accml documentation :doc:src/accml.rst
accml_lib documentation at https://python-accelerator-middle-layer.github.io/accml_lib/src/accml_lib.core.html
Collaboration community
Discussion
(please log in using Helmoltz ID, you will be prompt to access with your own lab/university credentials)
Mailing list:
to be added to the pyAML mailing list please write to S.Liuzzo