Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIFTy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
10
Merge Requests
10
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
NIFTy
Commits
e0227f8b
Commit
e0227f8b
authored
Mar 13, 2019
by
Philipp Arras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test and renaming
parent
4fae9924
Pipeline
#45190
failed with stages
in 5 minutes
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
nifty5/__init__.py
nifty5/__init__.py
+1
-0
nifty5/library/nfft.py
nifty5/library/nfft.py
+1
-1
test/test_operators/test_adjoint.py
test/test_operators/test_adjoint.py
+7
-0
No files found.
nifty5/__init__.py
View file @
e0227f8b
...
...
@@ -85,6 +85,7 @@ from .library.wiener_filter_curvature import WienerFilterCurvature
from
.library.correlated_fields
import
CorrelatedField
,
MfCorrelatedField
from
.library.adjust_variances
import
(
make_adjust_variances_hamiltonian
,
do_adjust_variances
)
from
.library.nfft
import
NFFT
from
.
import
extra
...
...
nifty5/library/nfft.py
View file @
e0227f8b
...
...
@@ -20,7 +20,7 @@ import numpy as np
import
nifty5
as
ift
class
NFFT
Operator
(
ift
.
LinearOperator
):
class
NFFT
(
ift
.
LinearOperator
):
"""Performs a non-equidistant Fourier transform, i.e. a Fourier transform
followed by a degridding operation.
...
...
test/test_operators/test_adjoint.py
View file @
e0227f8b
...
...
@@ -279,3 +279,10 @@ def testValueInserter(sp, seed):
ind
.
append
(
np
.
random
.
randint
(
0
,
ss
-
1
))
op
=
ift
.
ValueInserter
(
sp
,
ind
)
ift
.
extra
.
consistency_check
(
op
)
def
testNFFT
():
dom
=
ift
.
RGSpace
(
2
*
(
16
,))
uv
=
np
.
array
([[.
2
,
.
4
],
[
-
.
22
,
.
452
]])
op
=
ift
.
NFFT
(
dom
,
uv
)
ift
.
extra
.
consistency_check
(
op
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment