Bifrost: A Python/C++ Framework for High-Throughput Stream Processing in Astronomy
Abstract
Radio astronomy observatories with high throughput back end instruments require real-time data processing. While computing hardware continues to advance rapidly, development of real-time processing pipelines remains difficult and time-consuming, which can limit scientific productivity. Motivated by this, we have developed Bifrost: an open-source software framework for rapid pipeline development.(a) Bifrost combines a high-level Python interface with highly efficient reconfigurable data transport and a library of computing blocks for CPU and GPU processing. The framework is generalizable, but initially it emphasizes the needs of high-throughput radio astronomy pipelines, such as the ability to process data buffers as if they were continuous streams, the capacity to partition processing into distinct data sequences (e.g. separate observations), and the ability to extract specific intervals from buffered data. Computing blocks in the library are designed for applications such as interferometry, pulsar dedispersion and timing, and transient search pipelines. We describe the design and implementation of the Bifrost framework and demonstrate its use as the backbone in the correlation and beamforming back end of the Long Wavelength Array (LWA) station in the Sevilleta National Wildlife Refuge, NM.
- Publication:
-
Journal of Astronomical Instrumentation
- Pub Date:
- December 2017
- DOI:
- 10.1142/S2251171717500076
- arXiv:
- arXiv:1708.00720
- Bibcode:
- 2017JAI.....650007C
- Keywords:
-
- Instrumentation;
- miscellaneous-methods;
- data analysis-methods;
- numerical-methods;
- observational;
- Astrophysics - Instrumentation and Methods for Astrophysics;
- Computer Science - Distributed;
- Parallel;
- and Cluster Computing;
- Physics - Instrumentation and Detectors
- E-Print:
- 25 pages, 13 figures, submitted to JAI. For the code, see https://github.com/ledatelescope/bifrost