Debian Codegraph @

README

raw
1 NFFT - Nonequispaced FFT
2 =========================
3
4 Overview
5 --------
6 NFFT is a software library, written in C, for computing non-equispaced fast
7 Fourier transforms and related variations. It implements the following
8 transforms:
9
10 1. Non-equispaced fast Fourier transform (NFFT)
11 - forward transform *(NFFT)*, i.e. frequency to time/space domain
12 - adjoint transform *(adjoint NFFT)*, i.e. time/space to frequency domain
13
14 2. Generalisations
15 - to arbitrary nodes in time *and* frequency domain *(NNFFT)*
16 - to real-valued data, i.e. (co)sine transforms, *(NFCT, NFST)*
17 - to the sphere S^2 *(NFSFT)*
18 - to the rotation group *(NFSOFT)*
19 - to the hyperbolic cross *(NSFFT)*
20
21 3. Generalised inverse transformations based on iterative methods, e.g. CGNR/CGNE
22
23 Some examples for application of these transforms are provided:
24
25 1. Medical imaging
26 - magnetic resonance imaging (mri)
27 - computerised tomography (radon)
28
29 2. Summation schemes
30 - fast summation (fastsum)
31 - fast Gauss transform (FGT)
32 - singular kernels
33 - zonal kernels
34
35 3. polar FFT, discrete Radon transform, ridgelet transform
36
37 Detailed API documentation in HTML format can be found in
38 `doc/html/index.html`, if you are working from a release tarball.
39 When working from a source repository, the documentation can be
40 generated with Doxygen.
41 ```
42 make doc
43 ```
44
45 Building
46 --------
47 The NFFT depends on the [FFTW](https://fftw.org) library, which is available for many Linux distros, Homebrew on macOS and MSYS2 on Windows. If you compile the FFTW yourself, it should be configured with the flag `--enable-shared`.
48
49 When working from a source repository, you need to run libtoolize and autoreconf first. A bash script to do this is provided.
50 ```
51 ./bootstrap.sh
52 ```
53
54 The rest of the build process is standard.
55 ```
56 ./configure --enable-all --enable-openmp [add options as necessary, see below]
57 ```
58
59 Alternatively, you might run the configure script for Matlab.
60 ```
61 ./configure --enable-all --enable-openmp --with-matlab=/path/to/matlab
62 ```
63
64 Here are some useful optional flags for `./configure`:
65 * `--enable-all` specifies that all modules should be compiled,
66 * `--enable-openmp` enables the multicore support and
67 * `--enable-julia` specifies that the julia interface will be compiled.
68 * `--with-matlab=/path/to/matlab` specifies a path of Matlab, and
69 * `--with-octave=/path/to/octave` does the same for GNU Octave.
70 * For a list of all available options, run `./configure --help`.
71
72 Build the software.
73 ```
74 make
75 ```
76
77 Optionally, unit tests may be run. Some of the unit tests require an installation of [cunit](http://cunit.sourceforge.net).
78 ```
79 make check
80 ```
81
82 Optionally, install NFFT on your system.
83 ```
84 make install
85 ```
86
87 Citing
88 ------
89 The most current general paper, the one that we recommend if you wish to cite NFFT, is *Keiner, J., Kunis, S., and Potts, D.
90 ''Using NFFT 3 - a software library for various nonequispaced fast Fourier transforms''
91 ACM Trans. Math. Software,36, Article 19, 1-30, 2009*.
92
93 Feedback
94 --------
95 Your comments are welcome! This is the third version of the library and may
96 not be as robust or well documented as it should be. Please keep track of bugs
97 or missing/confusing instructions and report them to
98 [Daniel Potts](mailto:[email protected]).
99 The postal address is
100
101 ```
102 Prof. Dr. Daniel Potts
103 TU Chemnitz, Fakultaet fuer Mathematik
104 Reichenhainer Str. 39
105 09107 Chemnitz
106 GERMANY
107 ```
108
109 Alternatively, you might contact
110 [Stefan Kunis](mailto:[email protected])
111 or
112 [Jens Keiner](mailto:[email protected]).
113
114 If you find NFFT useful, we would be delighted to hear about what application
115 you are using NFFT for!
116
117 Legal Information & Credits
118 ---------------------------
119 Copyright (c) 2002, 2017 Jens Keiner, Stefan Kunis, Daniel Potts
120
121 This software was written by Jens Keiner, Stefan Kunis and Daniel Potts.
122 It was developed at the Mathematical Institute, University of
123 Luebeck, and at the Faculty of Mathematics, Chemnitz University of Technology.
124
125 NFFT3 is free software. You can redistribute it and/or modify it under the
126 terms of the GNU General Public License as published by the Free Software
127 Foundation; either version 2 of the License, or (at your option) any later
128 version. If not stated otherwise, this applies to all files contained in this
129 package and its sub-directories.
130
131 This program is distributed in the hope that it will be useful,
132 but WITHOUT ANY WARRANTY; without even the implied warranty of
133 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
134 GNU General Public License for more details.
135
136 You should have received a copy of the GNU General Public License
137 along with this program; if not, write to the Free Software
138 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
139
140 Directory structure
141 -------------------
142
143 File/Folder | Purpose
144 ------------------:| ------------------------------------------------------
145 3rdparty (dir) | Third-party source code
146 aclocal.m4 | Macros for configure script
147 applications (dir) | Application programs (see 4) above)
148 AUTHORS | Information about the authors of NFFT
149 bootstrap.sh | Bootstrap shell script that call Autoconf and friends
150 ChangeLog | A short version history
151 config (dir) | Used by configure script
152 configure | Configure script (created by calling ./bootstrap.sh)
153 configure.ac | Autoconf configure script template
154 CONVENTIONS | Internal coding conventions
155 COPYING | Information about redistributing NFFT
156 doc (dir) | User and developer documentation
157 examples (dir) | Simple examples for using NFFT routines
158 include (dir) | Header files
159 INSTALL | Installation instructions
160 julia (dir) | Julia interface for nfft
161 kernel (dir) | Source code for core library routines
162 Makefile.am | Automake Makefile template
163 Makefile.in | Makefile template generated from Makefile.am, processed by configure script
164 matlab (dir) | Matlab MEX interfaces for nfft, nfsft, nfsoft, nfft
165 NEWS | New and noteworthy
166 README | This file
167 README.md | This file
168 tests (dir) | CUnit tests