Skip to content
Algorithms for Least-Misfit Gridding in Radio Astronomy
Jupyter Notebook Python
Branch: master
Clone or download
Latest commit 3d3a1f5 Aug 20, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
notebooks Add displaystyle formatting Aug 12, 2019
LICENSE Initial Commit Jul 31, 2019 Update Aug 20, 2019

This repository contains the code and tutorials associated with the paper "Optimal gridding and degridding in radio interferometry imaging" by Haoyang Ye, Stephen F. Gull, Sze M. Tan and Bojan Nikolic, submitted to the Monthly Notices of the Royal Astronomical Society. A preliminary version is available at

Within the notebooks directory are a number of Jupyter notebooks which are intended as tutorials describing the use and properties of the least misfit functions. These are convolutional gridding functions designed to minimize the difference between a map computed using direct Fourier transform and one computed using a fast Fourier transform. The code for generating and analyzing these functions is in the file notebooks/algorithms/

The notebooks are intended to be read in the following order:

  • Quick Start
  • Evaluating Performance of Gridding and Grid Correction Functions
  • Optimization to Find Least Misfit Functions
  • Table Lookup and Interpolation of Gridding Convolution Function

The notebooks and code are intended for use with Python 3.5 and above and make use of the numpy, scipy and attrs libraries.

Installing the attrs package

Note that even though the code imports from attr, the name of the package on pypi is attrs ( It may be installed from within a Jupyter notebook by executing the following within a cell:

import sys
!$sys.executable -m pip install attrs

Sze Tan (

You can’t perform that action at this time.