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
03823a8d
Commit
03823a8d
authored
Jun 18, 2018
by
Philipp Arras
Browse files
Import cleanups
parent
653031b4
Pipeline
#31222
passed with stages
in 1 minute and 25 seconds
Changes
6
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
nifty4/field.py
View file @
03823a8d
...
@@ -23,7 +23,6 @@ from . import utilities
...
@@ -23,7 +23,6 @@ from . import utilities
from
.domain_tuple
import
DomainTuple
from
.domain_tuple
import
DomainTuple
from
functools
import
reduce
from
functools
import
reduce
from
.
import
dobj
from
.
import
dobj
import
sys
__all__
=
[
"Field"
,
"sqrt"
,
"exp"
,
"log"
,
"conjugate"
]
__all__
=
[
"Field"
,
"sqrt"
,
"exp"
,
"log"
,
"conjugate"
]
...
...
nifty4/library/noise_energy.py
View file @
03823a8d
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik
# and financially supported by the Studienstiftung des deutschen Volkes.
# and financially supported by the Studienstiftung des deutschen Volkes.
from
..field
import
Field
from
..sugar
import
exp
from
..sugar
import
exp
from
..minimization.energy
import
Energy
from
..minimization.energy
import
Energy
from
..operators.diagonal_operator
import
DiagonalOperator
from
..operators.diagonal_operator
import
DiagonalOperator
...
...
nifty4/minimization/l_bfgs.py
View file @
03823a8d
...
@@ -17,11 +17,12 @@
...
@@ -17,11 +17,12 @@
# and financially supported by the Studienstiftung des deutschen Volkes.
# and financially supported by the Studienstiftung des deutschen Volkes.
from
__future__
import
division
from
__future__
import
division
from
builtins
import
range
from
builtins
import
range
import
numpy
as
np
from
..logger
import
logger
from
.descent_minimizer
import
DescentMinimizer
from
.descent_minimizer
import
DescentMinimizer
from
.line_search_strong_wolfe
import
LineSearchStrongWolfe
from
.line_search_strong_wolfe
import
LineSearchStrongWolfe
from
..logger
import
logger
class
L_BFGS
(
DescentMinimizer
):
class
L_BFGS
(
DescentMinimizer
):
...
...
nifty4/operators/chain_operator.py
View file @
03823a8d
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
# and financially supported by the Studienstiftung des deutschen Volkes.
# and financially supported by the Studienstiftung des deutschen Volkes.
from
.linear_operator
import
LinearOperator
from
.linear_operator
import
LinearOperator
import
numpy
as
np
class
ChainOperator
(
LinearOperator
):
class
ChainOperator
(
LinearOperator
):
...
...
nifty4/operators/linear_operator.py
View file @
03823a8d
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
# and financially supported by the Studienstiftung des deutschen Volkes.
# and financially supported by the Studienstiftung des deutschen Volkes.
import
abc
import
abc
import
numpy
as
np
import
numpy
as
np
from
..utilities
import
NiftyMetaBase
from
..utilities
import
NiftyMetaBase
...
...
nifty4/operators/sandwich_operator.py
View file @
03823a8d
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
# and financially supported by the Studienstiftung des deutschen Volkes.
# and financially supported by the Studienstiftung des deutschen Volkes.
import
numpy
as
np
import
numpy
as
np
from
.linear_operator
import
LinearOperator
from
.linear_operator
import
LinearOperator
from
.diagonal_operator
import
DiagonalOperator
from
.diagonal_operator
import
DiagonalOperator
from
.endomorphic_operator
import
EndomorphicOperator
from
.endomorphic_operator
import
EndomorphicOperator
...
...
Write
Preview
Supports
Markdown
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