1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup compilers 1.0 |
---|
6 | |
---|
7 | name nfft-3 |
---|
8 | version 3.3.1 |
---|
9 | categories math |
---|
10 | license GPL-2+ |
---|
11 | platforms darwin |
---|
12 | maintainers nfft.org:jens openmaintainer |
---|
13 | homepage http://www.nfft.org/ |
---|
14 | distname nfft-${version} |
---|
15 | worksrcdir nfft-${version} |
---|
16 | description Fast C routines to compute the Non-equispaced Discrete Fourier Transform |
---|
17 | long_description NFFT3 is a software library written in C for computing nonequispaced fast Fourier \n\ |
---|
18 | and related transformations. In detail, NFFT3 implements \n\ |
---|
19 | 1) The nonequispaced fast Fourier transform (NFFT) \n\ |
---|
20 | - the forward transform (NFFT) \n\ |
---|
21 | - the adjoint transform (adjoint NFFT) \n\ |
---|
22 | 2) Generalisations of the NFFT \n\ |
---|
23 | - to arbitrary knots in time and frequency domain (NNFFT) \n\ |
---|
24 | - to the sphere S^2 (NFSFT) \n\ |
---|
25 | - to the hyperbolic cross (NSFFT) \n\ |
---|
26 | - to real-valued data, i.e. (co)sine transforms, (NFCT, NFST) \n\ |
---|
27 | - to the rotation group (NFSOFT) \n\ |
---|
28 | 3) Generalised inverses based on iterative methods, e.g. CGNR, CGNE \n\ |
---|
29 | 4) Applications in \n\ |
---|
30 | - medical imaging \n\ |
---|
31 | * magnetic resonance imaging \n\ |
---|
32 | * computerised tomography \n\ |
---|
33 | - summation schemes \n\ |
---|
34 | * fast Gauss transform (FGT) \n\ |
---|
35 | * singular kernels \n\ |
---|
36 | * zonal kernels \n\ |
---|
37 | - polar FFT, discrete Radon transform, ridgelet transform |
---|
38 | homepage http://www.nfft.org |
---|
39 | master_sites https://github.com/NFFT/nfft/releases/download/${version}/ |
---|
40 | checksums rmd160 08b4ff6b8d35b2ebc90159a8e86ff400e565528c \ |
---|
41 | sha256 74cc7f4c8922d72131c59f88ecb542e06254eaded09018d6367f8a46c0fb3125 |
---|
42 | depends_lib port:fftw-3 |
---|
43 | use_autoreconf no |
---|
44 | configure.args --enable-shared --enable-static --enable-all |
---|
45 | use_parallel_build yes |
---|
46 | |
---|
47 | compilers.choose cc |
---|
48 | compilers.setup |
---|
49 | |
---|
50 | test.run yes |
---|
51 | test.target check |
---|
52 | |
---|
53 | variant kaiserbessel description {compile with Kaiser-Bessel window (default)} conflicts gaussian bspline sinc { |
---|
54 | configure.args-append --with-window=kaiserbessel |
---|
55 | } |
---|
56 | |
---|
57 | variant gaussian description {compile with Gaussian window} conflicts kaiserbessel bspline sinc { |
---|
58 | configure.args-append --with-window=gaussian |
---|
59 | } |
---|
60 | |
---|
61 | variant bspline description {compile with B-Spline window} conflicts kaiserbessel gaussian sinc { |
---|
62 | configure.args-append --with-window=bspline |
---|
63 | } |
---|
64 | |
---|
65 | variant sinc description {compile with Sinc window} conflicts kaiserbessel gaussian bspline { |
---|
66 | configure.args-append --with-window=sinc |
---|
67 | } |
---|
68 | |
---|
69 | if {![variant_isset gaussian] && ![variant_isset bspline] && ![variant_isset sinc]} { |
---|
70 | default_variants-append +kaiserbessel |
---|
71 | } |
---|