Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
7ca8cc21
Commit
7ca8cc21
authored
Jun 18, 2018
by
Philipp Arras
Browse files
Import cleanups
parent
5f133b64
Pipeline
#31220
passed with stages
in 1 minute and 23 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty4/field.py
View file @
7ca8cc21
...
...
@@ -23,7 +23,6 @@ from . import utilities
from
.domain_tuple
import
DomainTuple
from
functools
import
reduce
from
.
import
dobj
import
sys
__all__
=
[
"Field"
,
"sqrt"
,
"exp"
,
"log"
,
"conjugate"
]
...
...
nifty4/library/noise_energy.py
View file @
7ca8cc21
...
...
@@ -16,7 +16,6 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
from
..field
import
Field
from
..sugar
import
exp
from
..minimization.energy
import
Energy
from
..operators.diagonal_operator
import
DiagonalOperator
...
...
nifty4/minimization/l_bfgs.py
View file @
7ca8cc21
...
...
@@ -17,11 +17,12 @@
# and financially supported by the Studienstiftung des deutschen Volkes.
from
__future__
import
division
from
builtins
import
range
import
numpy
as
np
from
..logger
import
logger
from
.descent_minimizer
import
DescentMinimizer
from
.line_search_strong_wolfe
import
LineSearchStrongWolfe
from
..logger
import
logger
class
L_BFGS
(
DescentMinimizer
):
...
...
nifty4/operators/chain_operator.py
View file @
7ca8cc21
...
...
@@ -17,7 +17,6 @@
# and financially supported by the Studienstiftung des deutschen Volkes.
from
.linear_operator
import
LinearOperator
import
numpy
as
np
class
ChainOperator
(
LinearOperator
):
...
...
nifty4/operators/linear_operator.py
View file @
7ca8cc21
...
...
@@ -18,7 +18,6 @@
import
abc
from
..utilities
import
NiftyMetaBase
from
..field
import
Field
import
numpy
as
np
...
...
nifty4/operators/sandwich_operator.py
View file @
7ca8cc21
...
...
@@ -17,7 +17,6 @@
# and financially supported by the Studienstiftung des deutschen Volkes.
import
numpy
as
np
from
.linear_operator
import
LinearOperator
from
.diagonal_operator
import
DiagonalOperator
from
.endomorphic_operator
import
EndomorphicOperator
...
...
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