Commit cc7e38cd authored by Philipp Arras's avatar Philipp Arras

More import cosmetics

parent 5b7ce748
...@@ -17,8 +17,10 @@ ...@@ -17,8 +17,10 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
from __future__ import absolute_import, division, print_function from __future__ import absolute_import, division, print_function
from ..compat import *
import numpy as np import numpy as np
from ..compat import *
from ..domains.power_space import PowerSpace from ..domains.power_space import PowerSpace
from ..domains.unstructured_domain import UnstructuredDomain from ..domains.unstructured_domain import UnstructuredDomain
from ..field import Field from ..field import Field
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
from __future__ import absolute_import, division, print_function from __future__ import absolute_import, division, print_function
from ..compat import * from ..compat import *
......
...@@ -17,8 +17,10 @@ ...@@ -17,8 +17,10 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
from __future__ import absolute_import, division, print_function from __future__ import absolute_import, division, print_function
from ..compat import *
from numpy import inf, isnan from numpy import inf, isnan
from ..compat import *
from ..minimization.energy import Energy from ..minimization.energy import Energy
from ..operators.sandwich_operator import SandwichOperator from ..operators.sandwich_operator import SandwichOperator
from ..sugar import log, makeOp from ..sugar import log, makeOp
......
...@@ -17,17 +17,17 @@ ...@@ -17,17 +17,17 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
from __future__ import absolute_import, division, print_function from __future__ import absolute_import, division, print_function
from ..compat import * from ..compat import *
from ..operators.fft_operator import FFTOperator from ..domain_tuple import DomainTuple
from ..field import Field from ..field import Field
from ..multi.multi_field import MultiField
from ..models.local_nonlinearity import PointwiseExponential from ..models.local_nonlinearity import PointwiseExponential
from ..operators.power_distributor import PowerDistributor
from ..models.variable import Variable from ..models.variable import Variable
from ..domain_tuple import DomainTuple from ..multi.multi_field import MultiField
from ..operators.domain_distributor import DomainDistributor from ..operators.domain_distributor import DomainDistributor
from ..operators.harmonic_transform_operator \ from ..operators.fft_operator import FFTOperator
import HarmonicTransformOperator from ..operators.harmonic_transform_operator import HarmonicTransformOperator
from ..operators.power_distributor import PowerDistributor
def make_correlated_field(s_space, amplitude_model): def make_correlated_field(s_space, amplitude_model):
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
from __future__ import absolute_import, division, print_function from __future__ import absolute_import, division, print_function
from ..compat import * from ..compat import *
from ..minimization.energy import Energy from ..minimization.energy import Energy
from ..operators.sandwich_operator import SandwichOperator from ..operators.sandwich_operator import SandwichOperator
......
...@@ -17,17 +17,19 @@ ...@@ -17,17 +17,19 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
from __future__ import absolute_import, division, print_function from __future__ import absolute_import, division, print_function
from ..compat import *
import numpy as np import numpy as np
from scipy.special import erfc
from scipy.sparse import coo_matrix from scipy.sparse import coo_matrix
from scipy.sparse.linalg import aslinearoperator from scipy.sparse.linalg import aslinearoperator
from ..operators.linear_operator import LinearOperator from scipy.special import erfc
from .. import dobj
from ..compat import *
from ..domain_tuple import DomainTuple from ..domain_tuple import DomainTuple
from ..domains.rg_space import RGSpace from ..domains.rg_space import RGSpace
from ..domains.unstructured_domain import UnstructuredDomain from ..domains.unstructured_domain import UnstructuredDomain
from ..field import Field from ..field import Field
from .. import dobj from ..operators.linear_operator import LinearOperator
def _gaussian_error_function(x): def _gaussian_error_function(x):
......
...@@ -17,15 +17,16 @@ ...@@ -17,15 +17,16 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
from __future__ import absolute_import, division, print_function from __future__ import absolute_import, division, print_function
from ..compat import *
import numpy as np import numpy as np
from scipy.stats import invgamma, norm from scipy.stats import invgamma, norm
from ..compat import *
from ..field import Field from ..field import Field
from ..sugar import makeOp
from ..multi.multi_field import MultiField
from ..models.model import Model from ..models.model import Model
from ..multi.multi_field import MultiField
from ..operators.selection_operator import SelectionOperator from ..operators.selection_operator import SelectionOperator
from ..sugar import makeOp
from ..utilities import memo from ..utilities import memo
......
...@@ -17,8 +17,10 @@ ...@@ -17,8 +17,10 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
from __future__ import absolute_import, division, print_function from __future__ import absolute_import, division, print_function
from ..compat import *
from numpy import inf, isnan from numpy import inf, isnan
from ..compat import *
from ..minimization.energy import Energy from ..minimization.energy import Energy
from ..operators.sandwich_operator import SandwichOperator from ..operators.sandwich_operator import SandwichOperator
from ..sugar import log, makeOp from ..sugar import log, makeOp
......
...@@ -17,10 +17,11 @@ ...@@ -17,10 +17,11 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
from __future__ import absolute_import, division, print_function from __future__ import absolute_import, division, print_function
from ..compat import * from ..compat import *
from ..operators.sandwich_operator import SandwichOperator
from ..operators.inversion_enabler import InversionEnabler from ..operators.inversion_enabler import InversionEnabler
from ..operators.sampling_enabler import SamplingEnabler from ..operators.sampling_enabler import SamplingEnabler
from ..operators.sandwich_operator import SandwichOperator
def WienerFilterCurvature(R, N, S, iteration_controller=None, def WienerFilterCurvature(R, N, S, iteration_controller=None,
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
# and financially supported by the Studienstiftung des deutschen Volkes. # and financially supported by the Studienstiftung des deutschen Volkes.
from __future__ import absolute_import, division, print_function from __future__ import absolute_import, division, print_function
from ..compat import * from ..compat import *
from ..minimization.quadratic_energy import QuadraticEnergy from ..minimization.quadratic_energy import QuadraticEnergy
from .wiener_filter_curvature import WienerFilterCurvature from .wiener_filter_curvature import WienerFilterCurvature
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment