.. galario documentation master file, created by sphinx-quickstart on Wed May 24 13:32:58 2017. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. .. _email: mtazzari@ast.cam.ac.uk .. image:: images/galario.jpg :scale: 40 % :alt: Galario logo. Credit: Tazzari, Beaujean, Testi. :align: left =================== |galario| |version| =================== -------------- **GPU Accelerated Library for Analysing Radio Interferometer Observations** --------------------------------------------------------------------------- |galario| is a library that exploits the computing power of modern graphic cards (GPUs) to accelerate the comparison of model predictions to radio interferometer observations. Namely, it speeds up the computation of the synthetic visibilities given a model image (or an axisymmetric brightness profile) and their comparison to the observations. Along with the GPU accelerated version based on the `CUDA Toolkit `_, |galario| offers a CPU counterpart accelerated with `openMP `_. .. image:: images/alma_panoramic.jpeg :scale: 80 % :alt: ALMA antennas on the Chajnantor plateau. Credit: ESO :align: center :target: http://www.eso.org/public/images/baan_7698/ Modern radio interferometers like `ALMA `_ and the `Karl G. Jansky VLA `_, are pushing to the extreme the computational efforts needed to model the observations. The unprecedented sensitivity and resolution achieved by these observatories deliver huge amount of data that sample a wide range of spatial frequencies. In this context, |galario| provides a fast library useful for comparing a model to observations directly in the Fourier plane. We presented |galario| in `Tazzari, Beaujean and Testi (2018) MNRAS 476 4527 `_, where you can find all the details about the relevant equations and the algorithm implementation. .. Here we do not aim to summarize the vast literature about Radio Interferometry, but we refer the interested reader to the `Synthesis Imaging in Radio Astronomy II `_ book. |galario| is actively developed on `GitHub `_ and has already been employed in :doc:`these publications `. .. note:: The Python and C++ bindings of |galario| can be installed easily via `conda `_: .. code-block:: bash conda install -c conda-forge galario Due to technical limitations, the conda package does not support GPUs at the moment. If you want to use a GPU, you have to build |galario| by hand. All the details on how to build and install |galario| can be found in the :doc:`Setup ` page. Basic functionality of |galario|: see the :doc:`Basic Usage ` page. How to fit some data with |galario|: check the :doc:`Getting started example `. Details on image orientation, coordinate systems and other assumptions: see the :doc:`Technical specifications `. Useful recipes for the CPU/GPU management and the model image creation: see the :doc:`Cookbook ` with many code snippets. Detailed documentation of each Python and C++ function: see the :doc:`Python-API ` and :doc:`C++ API ` pages. Stuck on an issue? Check the :doc:`Frequently Asked Questions ` page, or send me an `email`_. License and Attribution ----------------------- If you use |galario| for your research please cite Tazzari, Beaujean and Testi (2018) MNRAS **476** 4527 `[MNRAS] `_ `[arXiv] `_ `[ADS] `_. The BibTeX entry for the paper is:: @ARTICLE{2018MNRAS.476.4527T, author = {{Tazzari}, M. and {Beaujean}, F. and {Testi}, L.}, title = "{GALARIO: a GPU accelerated library for analysing radio interferometer observations}", journal = {\mnras}, archivePrefix = "arXiv", eprint = {1709.06999}, primaryClass = "astro-ph.IM", keywords = {methods: numerical, techniques: interferometric, submillimetre: general}, year = 2018, month = jun, volume = 476, pages = {4527-4542}, doi = {10.1093/mnras/sty409}, adsurl = {http://adsabs.harvard.edu/abs/2018MNRAS.476.4527T}, adsnote = {Provided by the SAO/NASA Astrophysics Data System} } |galario| has also a `Zenodo DOI `_, which can be used to refer to the exact version of |galario| used in a paper. |galario| is free software licensed under the LGPLv3 License. For more details see the :doc:`LICENSE `. © Copyright 2017-2020 Marco Tazzari, Frederik Beaujean, Leonardo Testi and contributors. Contributors ------------ .. include:: ../AUTHORS.rst Changelog --------- .. include:: ../CHANGELOG.rst Contents -------- .. toctree:: :numbered: :maxdepth: 2 Home Setup Basic Usage Getting Started Tech specs Cookbook Python API C++ API C++ Example Publications FAQ License