Skip to content

Commit 7f50031

Browse files
committed
Add reexport to simplify usage with FFT and NFFT
1 parent 616c0cd commit 7f50031

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1111
NDTools = "98581153-e998-4eef-8d0d-5ec2c052313d"
1212
NFFT = "efe261a4-0d2b-5849-be55-fc731d526b0d"
1313
PaddedViews = "5432bcbf-9aad-5242-b902-cca2824c8663"
14+
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
1415
ShiftedArrays = "1277b4bf-5013-50f5-be3d-901d8477a67a"
1516

1617
[compat]
@@ -21,6 +22,7 @@ IndexFunArrays = "0.2"
2122
NDTools = "0.5.1"
2223
NFFT = "0.11, 0.12, 0.13"
2324
PaddedViews = "0.5"
25+
Reexport = "1"
2426
ShiftedArrays = "2"
2527
Zygote = "0.6"
2628
julia = "1, 1.6, 1.7, 1.8"

src/FourierTools.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
module FourierTools
22

3+
4+
using Reexport
35
using PaddedViews, ShiftedArrays
4-
using FFTW
6+
@reexport using FFTW
57
using LinearAlgebra
68
using IndexFunArrays
79
using ChainRulesCore
810
using NDTools
9-
using NFFT
11+
@reexport using NFFT
1012
FFTW.set_num_threads(4)
1113

14+
15+
1216
include("utils.jl")
1317
include("nfft_nd.jl")
1418
include("resampling.jl")

0 commit comments

Comments
 (0)