An open API service indexing awesome lists of open source software.

https://github.com/emmt/frim

The Fractal Iterative Method for turbulent wavefront simulation and wavefront sensing
https://github.com/emmt/frim

Last synced: about 1 year ago
JSON representation

The Fractal Iterative Method for turbulent wavefront simulation and wavefront sensing

Awesome Lists containing this project

README

          

# FRactal Iterative Method

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:

![FRiM](gfx/wavefront.png)

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`](./c) contains the C sources;
* [`matlab-octave`](./matlab-octave) contains code to generate turbulent
wavefronts with [MATLAB](https://en.wikipedia.org/wiki/MATLAB) or
[Octave](https://www.gnu.org/software/octave/);
* [`yorick`](./yorick) contains the source of the FRiM plug-in for
[Yorick](https://github.com/LLNL/yorick).

## Yorick plug-in

To build and install the [Yorick](https://github.com/LLNL/yorick) plug-in:

```.sh
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`](./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:

```.sh
$SRCDIR/configure --help
```

for a short help about possible configuration options.