Loading...
Please wait, while we are loading the content...
A Cython Interface to EPICS Channel Access for High-level Python Applications
| Content Provider | Semantic Scholar |
|---|---|
| Author | Chrin, J. T. M. |
| Copyright Year | 2017 |
| Abstract | Through the capabilities of Cython (a Python-like programming language with the performance of C/C++), a Pythonic interface to an in-house C++Channel Access (CA) library, CAFE, has been developed, thereby exposing CAFE’s numerous multifaceted and user-friendly methods to Python application developers. A number of particularities of the PyCafe extension module are revealed. These include support for (i) memoryview and other data types that implement the new Python buffer protocol (allowing data to be shared without copying), (ii) native thread parallelism, and (iii) pointers to callback functions from wherein CAFE methods may be effortlessly executed in asynchronous interactions. A significant performance improvement is achieved when compared with conventional Pythonic CA libraries. The PyCafe interface has been realized within the context of high-level application development at SwissFEL, Switzerland’s X-ray Free-Electron Laser facility. |
| Starting Page | 21 |
| Ending Page | 24 |
| Page Count | 4 |
| File Format | PDF HTM / HTML |
| DOI | 10.18429/JACoW-PCaPAC2016-WEUIPLCO04 |
| Alternate Webpage(s) | https://www.dora.lib4ri.ch/psi/islandora/object/psi:24646/datastream/PDF/Chrin-2017-A_Cython_Interface_to_EPICS-(published_version).pdf |
| Alternate Webpage(s) | https://doi.org/10.18429/JACoW-PCaPAC2016-WEUIPLCO04 |
| Volume Number | 11 |
| Language | English |
| Access Restriction | Open |
| Content Type | Text |
| Resource Type | Article |