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
14
Issues
14
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
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
d3893bbc
Commit
d3893bbc
authored
Apr 13, 2017
by
Theo Steininger
Committed by
Pumpe, Daniel (dpumpe)
Apr 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated copyright information.
parent
1daad99e
Changes
88
Hide whitespace changes
Inline
Side-by-side
Showing
88 changed files
with
1496 additions
and
187 deletions
+1496
-187
nifty/__init__.py
nifty/__init__.py
+17
-20
nifty/basic_arithmetics.py
nifty/basic_arithmetics.py
+17
-0
nifty/config/__init__.py
nifty/config/__init__.py
+18
-1
nifty/config/d2o_config.py
nifty/config/d2o_config.py
+17
-1
nifty/config/nifty_config.py
nifty/config/nifty_config.py
+17
-1
nifty/domain_object.py
nifty/domain_object.py
+17
-1
nifty/dummys/__init__.py
nifty/dummys/__init__.py
+17
-1
nifty/energies/__init__.py
nifty/energies/__init__.py
+17
-1
nifty/energies/energy.py
nifty/energies/energy.py
+17
-1
nifty/energies/line_energy.py
nifty/energies/line_energy.py
+17
-1
nifty/energies/memoization.py
nifty/energies/memoization.py
+17
-1
nifty/field.py
nifty/field.py
+18
-0
nifty/field_types/__init__.py
nifty/field_types/__init__.py
+17
-1
nifty/field_types/field_array.py
nifty/field_types/field_array.py
+17
-1
nifty/field_types/field_type.py
nifty/field_types/field_type.py
+17
-1
nifty/minimization/__init__.py
nifty/minimization/__init__.py
+17
-1
nifty/minimization/conjugate_gradient.py
nifty/minimization/conjugate_gradient.py
+17
-2
nifty/minimization/line_searching/__init__.py
nifty/minimization/line_searching/__init__.py
+17
-1
nifty/minimization/line_searching/line_search.py
nifty/minimization/line_searching/line_search.py
+18
-0
nifty/minimization/line_searching/line_search_strong_wolfe.py
...y/minimization/line_searching/line_search_strong_wolfe.py
+18
-0
nifty/minimization/quasi_newton_minimizer.py
nifty/minimization/quasi_newton_minimizer.py
+17
-1
nifty/minimization/relaxed_newton.py
nifty/minimization/relaxed_newton.py
+17
-1
nifty/minimization/steepest_descent.py
nifty/minimization/steepest_descent.py
+17
-1
nifty/minimization/vl_bfgs.py
nifty/minimization/vl_bfgs.py
+17
-1
nifty/nifty_utilities.py
nifty/nifty_utilities.py
+17
-1
nifty/operators/__init__.py
nifty/operators/__init__.py
+17
-20
nifty/operators/composed_operator/__init__.py
nifty/operators/composed_operator/__init__.py
+17
-1
nifty/operators/composed_operator/composed_operator.py
nifty/operators/composed_operator/composed_operator.py
+17
-1
nifty/operators/diagonal_operator/__init__.py
nifty/operators/diagonal_operator/__init__.py
+17
-1
nifty/operators/diagonal_operator/diagonal_operator.py
nifty/operators/diagonal_operator/diagonal_operator.py
+17
-1
nifty/operators/endomorphic_operator/__init__.py
nifty/operators/endomorphic_operator/__init__.py
+17
-1
nifty/operators/endomorphic_operator/endomorphic_operator.py
nifty/operators/endomorphic_operator/endomorphic_operator.py
+17
-1
nifty/operators/fft_operator/__init__.py
nifty/operators/fft_operator/__init__.py
+17
-0
nifty/operators/fft_operator/fft_operator.py
nifty/operators/fft_operator/fft_operator.py
+17
-0
nifty/operators/fft_operator/transformations/__init__.py
nifty/operators/fft_operator/transformations/__init__.py
+18
-0
nifty/operators/fft_operator/transformations/gllmtransformation.py
...rators/fft_operator/transformations/gllmtransformation.py
+18
-0
nifty/operators/fft_operator/transformations/hplmtransformation.py
...rators/fft_operator/transformations/hplmtransformation.py
+18
-0
nifty/operators/fft_operator/transformations/lmgltransformation.py
...rators/fft_operator/transformations/lmgltransformation.py
+18
-0
nifty/operators/fft_operator/transformations/lmhptransformation.py
...rators/fft_operator/transformations/lmhptransformation.py
+18
-0
nifty/operators/fft_operator/transformations/rg_transforms.py
...y/operators/fft_operator/transformations/rg_transforms.py
+18
-0
nifty/operators/fft_operator/transformations/rgrgtransformation.py
...rators/fft_operator/transformations/rgrgtransformation.py
+18
-0
nifty/operators/fft_operator/transformations/slicing_transformation.py
...rs/fft_operator/transformations/slicing_transformation.py
+17
-1
nifty/operators/fft_operator/transformations/transformation.py
.../operators/fft_operator/transformations/transformation.py
+17
-0
nifty/operators/fft_operator/transformations/transformation_cache.py
...tors/fft_operator/transformations/transformation_cache.py
+17
-0
nifty/operators/invertible_operator_mixin/__init__.py
nifty/operators/invertible_operator_mixin/__init__.py
+17
-1
nifty/operators/invertible_operator_mixin/invertible_operator_mixin.py
...rs/invertible_operator_mixin/invertible_operator_mixin.py
+17
-1
nifty/operators/linear_operator/__init__.py
nifty/operators/linear_operator/__init__.py
+17
-1
nifty/operators/linear_operator/linear_operator.py
nifty/operators/linear_operator/linear_operator.py
+17
-1
nifty/operators/projection_operator/__init__.py
nifty/operators/projection_operator/__init__.py
+17
-1
nifty/operators/projection_operator/projection_operator.py
nifty/operators/projection_operator/projection_operator.py
+18
-1
nifty/operators/propagator_operator/__init__.py
nifty/operators/propagator_operator/__init__.py
+17
-1
nifty/operators/propagator_operator/propagator_operator.py
nifty/operators/propagator_operator/propagator_operator.py
+17
-1
nifty/operators/smoothing_operator/__init__.py
nifty/operators/smoothing_operator/__init__.py
+18
-0
nifty/operators/smoothing_operator/smoothing_operator.py
nifty/operators/smoothing_operator/smoothing_operator.py
+18
-0
nifty/probing/__init__.py
nifty/probing/__init__.py
+17
-1
nifty/probing/mixin_classes/__init__.py
nifty/probing/mixin_classes/__init__.py
+17
-1
nifty/probing/mixin_classes/diagonal_prober_mixin.py
nifty/probing/mixin_classes/diagonal_prober_mixin.py
+17
-1
nifty/probing/mixin_classes/trace_prober_mixin.py
nifty/probing/mixin_classes/trace_prober_mixin.py
+17
-1
nifty/probing/prober/__init__.py
nifty/probing/prober/__init__.py
+17
-1
nifty/probing/prober/prober.py
nifty/probing/prober/prober.py
+17
-1
nifty/random.py
nifty/random.py
+17
-1
nifty/spaces/__init__.py
nifty/spaces/__init__.py
+17
-1
nifty/spaces/gl_space/__init__.py
nifty/spaces/gl_space/__init__.py
+17
-2
nifty/spaces/gl_space/gl_space.py
nifty/spaces/gl_space/gl_space.py
+18
-0
nifty/spaces/hp_space/__init__.py
nifty/spaces/hp_space/__init__.py
+17
-2
nifty/spaces/hp_space/hp_space.py
nifty/spaces/hp_space/hp_space.py
+6
-23
nifty/spaces/lm_space/__init__.py
nifty/spaces/lm_space/__init__.py
+17
-1
nifty/spaces/lm_space/lm_space.py
nifty/spaces/lm_space/lm_space.py
+18
-0
nifty/spaces/power_space/__init__.py
nifty/spaces/power_space/__init__.py
+17
-1
nifty/spaces/power_space/power_index_factory.py
nifty/spaces/power_space/power_index_factory.py
+18
-1
nifty/spaces/power_space/power_indices.py
nifty/spaces/power_space/power_indices.py
+17
-1
nifty/spaces/power_space/power_space.py
nifty/spaces/power_space/power_space.py
+17
-1
nifty/spaces/rg_space/__init__.py
nifty/spaces/rg_space/__init__.py
+17
-20
nifty/spaces/rg_space/rg_space.py
nifty/spaces/rg_space/rg_space.py
+10
-13
nifty/spaces/space/__init__.py
nifty/spaces/space/__init__.py
+17
-2
nifty/spaces/space/space.py
nifty/spaces/space/space.py
+10
-13
nifty/sugar.py
nifty/sugar.py
+17
-1
nifty/version.py
nifty/version.py
+17
-1
setup.py
setup.py
+17
-20
test/common.py
test/common.py
+18
-0
test/test_field.py
test/test_field.py
+17
-1
test/test_serialization.py
test/test_serialization.py
+18
-0
test/test_spaces/test_gl_space.py
test/test_spaces/test_gl_space.py
+18
-0
test/test_spaces/test_hp_space.py
test/test_spaces/test_hp_space.py
+18
-0
test/test_spaces/test_interface.py
test/test_spaces/test_interface.py
+18
-0
test/test_spaces/test_lm_space.py
test/test_spaces/test_lm_space.py
+18
-0
test/test_spaces/test_power_space.py
test/test_spaces/test_power_space.py
+18
-0
test/test_spaces/test_rg_space.py
test/test_spaces/test_rg_space.py
+18
-0
No files found.
nifty/__init__.py
View file @
d3893bbc
## NIFTY (Numerical Information Field Theory) has been developed at the
## Max-Planck-Institute for Astrophysics.
##
## Copyright (C) 2013 Max-Planck-Society
##
## Author: Marco Selig
## Project homepage: <http://www.mpa-garching.mpg.de/ift/nifty/>
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## See the GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
division
...
...
nifty/basic_arithmetics.py
View file @
d3893bbc
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
numpy
as
np
from
d2o
import
distributed_data_object
...
...
nifty/config/__init__.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
nifty_config
import
dependency_injector
,
\
nifty_configuration
...
...
nifty/config/d2o_config.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
os
...
...
nifty/config/nifty_config.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
os
from
distutils.version
import
LooseVersion
as
lv
...
...
nifty/domain_object.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
abc
...
...
nifty/dummys/__init__.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
gfft_dummy
nifty/energies/__init__.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
energy
import
Energy
from
line_energy
import
LineEnergy
...
...
nifty/energies/energy.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
keepers
import
Loggable
...
...
nifty/energies/line_energy.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
.energy
import
Energy
...
...
nifty/energies/memoization.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
def
memo
(
f
):
...
...
nifty/field.py
View file @
d3893bbc
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
division
import
numpy
as
np
...
...
nifty/field_types/__init__.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
field_type
import
FieldType
from
field_array
import
FieldArray
nifty/field_types/field_array.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
numpy
as
np
...
...
nifty/field_types/field_type.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
nifty.domain_object
import
DomainObject
...
...
nifty/minimization/__init__.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
line_searching
import
*
from
conjugate_gradient
import
ConjugateGradient
...
...
nifty/minimization/conjugate_gradient.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
division
import
numpy
as
np
...
...
nifty/minimization/line_searching/__init__.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
line_search
import
LineSearch
from
line_search_strong_wolfe
import
LineSearchStrongWolfe
nifty/minimization/line_searching/line_search.py
View file @
d3893bbc
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
abc
from
keepers
import
Loggable
...
...
nifty/minimization/line_searching/line_search_strong_wolfe.py
View file @
d3893bbc
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
numpy
as
np
from
.line_search
import
LineSearch
...
...
nifty/minimization/quasi_newton_minimizer.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
abc
...
...
nifty/minimization/relaxed_newton.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
.quasi_newton_minimizer
import
QuasiNewtonMinimizer
from
.line_searching
import
LineSearchStrongWolfe
...
...
nifty/minimization/steepest_descent.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
.quasi_newton_minimizer
import
QuasiNewtonMinimizer
...
...
nifty/minimization/vl_bfgs.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
numpy
as
np
...
...
nifty/nifty_utilities.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
numpy
as
np
from
itertools
import
product
...
...
nifty/operators/__init__.py
View file @
d3893bbc
## NIFTY (Numerical Information Field Theory) has been developed at the
## Max-Planck-Institute for Astrophysics.
##
## Copyright (C) 2015 Max-Planck-Society
##
## Author: Marco Selig
## Project homepage: <http://www.mpa-garching.mpg.de/ift/nifty/>
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## See the GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program. If not, see <http://www.gnu.org/licenses/>.
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
division
...
...
nifty/operators/composed_operator/__init__.py
View file @
d3893bbc
# -*- coding: utf-8 -*-
# NIFTy
# Copyright (C) 2017 Theo Steininger
#
# Author: Theo Steininger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.