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
- Host: GitHub
- URL: https://github.com/emmt/frim
- Owner: emmt
- License: other
- Created: 2020-07-22T12:06:14.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-03T12:46:31.000Z (over 3 years ago)
- Last Synced: 2025-01-29T06:48:28.578Z (over 1 year ago)
- Language: C
- Size: 67.4 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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:

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.