FRiM (FRactal Iterative Method) is an algorithm to generate/recover random fields with stationnary covariance like turbulent wavefronts. Below is an example of turbulent wavefront generated with FRiM:
This repository provides the code corresponding to the method described in Thiébaut & Tallon, "Fast minimum variance wavefront reconstruction for extremely large telescopes", J. Opt. Soc. Am. A, vol. 27, pp. 1046-1059 (2010).
This repository is organized as follows:
c
contains the C sources;matlab-octave
contains code to generate turbulent wavefronts with MATLAB or Octave;yorick
contains the source of the FRiM plug-in for Yorick.
To build and install the Yorick plug-in:
mkdir -p $BUILD
cd $BUILD
$SRCDIR/configure
make clean
make
make install
where $BUILD
is the directory where to build the plug-in and
$SRCDIR/configure
is the path to the configuration script in the
yorick
directory. The build directory $BUILD
should not
contain precious files you want to keep, the $BUILD
and $SRCDIR
can however
be the same directory. The mkdir
command above is only needed if directory
$BUILD
does not exist. Call:
$SRCDIR/configure --help
for a short help about possible configuration options.