diff --git a/ChangeLog b/ChangeLog index f9be1d69d1228bfb28b7615db495a24f83def34b..4b4a34c75a630d2dfe2cb55139c2a543baa833be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -43,7 +43,7 @@ In order to dive into those subtleties I suggest running the following code and playing around with the dtypes. ``` -import nifty6 as ift +import nifty7 as ift import numpy as np dom = ift.UnstructuredDomain(5) @@ -71,7 +71,7 @@ The code now uses `numpy`'s new `SeedSequence` and `Generator` classes for the production of random numbers (introduced in numpy 1.17. This greatly simplifies the generation of reproducible random numbers in the presence of MPI parallelism and leads to cleaner code overall. Please see the documentation of -`nifty6.random` for details. +`nifty7.random` for details. Interface Change for from_random and OuterProduct ================================================= diff --git a/src/library/correlated_fields.py b/src/library/correlated_fields.py index fd7c46a102a55d3599b55e6335fe8e2a769b4b57..e4c7d8cd7ae747a7acb7d04798b426ad7f1a022b 100644 --- a/src/library/correlated_fields.py +++ b/src/library/correlated_fields.py @@ -365,11 +365,11 @@ class CorrelatedFieldMaker: around this offset needs to be parametrized. The resulting correlated field model operator has a - :class:`~nifty6.multi_domain.MultiDomain` as its domain and + :class:`~nifty7.multi_domain.MultiDomain` as its domain and expects its input values to be univariately gaussian. The target of the constructed operator will be a - :class:`~nifty6.domain_tuple.DomainTuple` + :class:`~nifty7.domain_tuple.DomainTuple` containing the `target_subdomains` of the added fluctuations in the order of the `add_fluctuations` calls. @@ -475,8 +475,8 @@ class CorrelatedFieldMaker: Parameters ---------- - target_subdomain : :class:`~nifty6.domain.Domain`, \ - :class:`~nifty6.domain_tuple.DomainTuple` + target_subdomain : :class:`~nifty7.domain.Domain`, \ + :class:`~nifty7.domain_tuple.DomainTuple` Target subdomain on which the correlation structure defined in this call should hold. fluctuations_{mean,stddev} : float @@ -501,8 +501,8 @@ class CorrelatedFieldMaker: field model and the second one is used for the third field model. *If not given*, use the same power spectrum model for all constructed field models. - harmonic_partner : :class:`~nifty6.domain.Domain`, \ - :class:`~nifty6.domain_tuple.DomainTuple` + harmonic_partner : :class:`~nifty7.domain.Domain`, \ + :class:`~nifty7.domain_tuple.DomainTuple` In which harmonic space to define the power spectrum """ if harmonic_partner is None: diff --git a/test/test_operators/test_conjugation_operator.py b/test/test_operators/test_conjugation_operator.py index 348bae84a5d656f0c9f454f188bd2a6fbb41c4d9..898406bae7a6114928ea6cc06230dfc0c06e6735 100644 --- a/test/test_operators/test_conjugation_operator.py +++ b/test/test_operators/test_conjugation_operator.py @@ -18,7 +18,7 @@ import numpy as np from numpy.testing import assert_allclose -import nifty6 as ift +import nifty7 as ift from ..common import setup_function, teardown_function diff --git a/test/test_operators/test_contraction_operator.py b/test/test_operators/test_contraction_operator.py index e8f1c54904e5fcb14c8ecc50922cc0cee220971c..0586181faf78052db600182203cd4e7d348ce520 100644 --- a/test/test_operators/test_contraction_operator.py +++ b/test/test_operators/test_contraction_operator.py @@ -18,7 +18,7 @@ import numpy as np from numpy.testing import assert_allclose -import nifty6 as ift +import nifty7 as ift from ..common import setup_function, teardown_function diff --git a/test/test_operators/test_vdot_operator.py b/test/test_operators/test_vdot_operator.py index 7e2d3ab77ba22cc036b17c3741338509b11d3403..64f21fd2f2b7d2895dc4ce794139419baa72cc08 100644 --- a/test/test_operators/test_vdot_operator.py +++ b/test/test_operators/test_vdot_operator.py @@ -18,7 +18,7 @@ import numpy as np from numpy.testing import assert_allclose -import nifty6 as ift +import nifty7 as ift from ..common import setup_function, teardown_function