forked from tvwerkhoven/libunwrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
55 lines (32 loc) · 1.37 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
libunwrap installation
==============================================================================
libunwrap consists of three seperate parts: the core algorithms are written in C and two wrappers written in Matlab and Python.
C library
=========
The C library follows standard automake installation procedures. Although the source is included in the two wrappers automatically, and no manual compilation is required, one can still compile a test-routine to check things.
To compile the test program, build the package as always. For the impatient:
$ autoreconf -sfi
$ ./configure
$ make
In more detail: first, generate the necessary files:
$ autoreconf -sfi
Next, inspect the possible configuration options, then run the configuration with the desired flags
$ ./configure --help
$ ./configure
Finally, build the library and test program
$ make
The test program will be located under test/.
Matlab wrapper
==============
Custom Makefile in matlab/ directory.
Python wrapper
==============
The Python wrapper uses the default numpy.distutils installation procedure:
$ ./setup.py build [opts]
followed by
$ ./setup.py install [opts]
Documentation
=============
All source code is annotated with Doxygen-formatted documentation. To extract this information, run doxygen in the docs/ directory:
doc/ $ doxygen doxyfile
This will then generate html, LaTeX and man documentation.