I’ve developed a library-style implementation of the Fourier Transform Reconstructor, a method for reconstructing an optical phase from slope measurements in an adaptive optics system.

The library implementation leverages FFTW for accelerated fast fourier transforms. It is designed to have a small memory and performance footprint, written in C, and easily adapted for specialized problems. The library also includes a python implementation and library, to provide an easy to use, easy to experiment implementation for development and laboratory use.

The FTR library is on github, and tested on travis.