Commit 54a560d8 authored by Martin Reinecke's avatar Martin Reinecke

fix version

parent 773e7b8c
Pipeline #75364 passed with stages
in 9 minutes and 5 seconds
...@@ -43,7 +43,7 @@ In order to dive into those subtleties I suggest running the following code and ...@@ -43,7 +43,7 @@ In order to dive into those subtleties I suggest running the following code and
playing around with the dtypes. playing around with the dtypes.
``` ```
import nifty6 as ift import nifty7 as ift
import numpy as np import numpy as np
dom = ift.UnstructuredDomain(5) dom = ift.UnstructuredDomain(5)
...@@ -71,7 +71,7 @@ The code now uses `numpy`'s new `SeedSequence` and `Generator` classes for the ...@@ -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 production of random numbers (introduced in numpy 1.17. This greatly simplifies
the generation of reproducible random numbers in the presence of MPI parallelism the generation of reproducible random numbers in the presence of MPI parallelism
and leads to cleaner code overall. Please see the documentation of 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 Interface Change for from_random and OuterProduct
================================================= =================================================
......
...@@ -365,11 +365,11 @@ class CorrelatedFieldMaker: ...@@ -365,11 +365,11 @@ class CorrelatedFieldMaker:
around this offset needs to be parametrized. around this offset needs to be parametrized.
The resulting correlated field model operator has a 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. expects its input values to be univariately gaussian.
The target of the constructed operator will be a 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 containing the `target_subdomains` of the added fluctuations in the
order of the `add_fluctuations` calls. order of the `add_fluctuations` calls.
...@@ -475,8 +475,8 @@ class CorrelatedFieldMaker: ...@@ -475,8 +475,8 @@ class CorrelatedFieldMaker:
Parameters Parameters
---------- ----------
target_subdomain : :class:`~nifty6.domain.Domain`, \ target_subdomain : :class:`~nifty7.domain.Domain`, \
:class:`~nifty6.domain_tuple.DomainTuple` :class:`~nifty7.domain_tuple.DomainTuple`
Target subdomain on which the correlation structure defined Target subdomain on which the correlation structure defined
in this call should hold. in this call should hold.
fluctuations_{mean,stddev} : float fluctuations_{mean,stddev} : float
...@@ -501,8 +501,8 @@ class CorrelatedFieldMaker: ...@@ -501,8 +501,8 @@ class CorrelatedFieldMaker:
field model and the second one is used for the third field model. field model and the second one is used for the third field model.
*If not given*, use the same power spectrum model for all *If not given*, use the same power spectrum model for all
constructed field models. constructed field models.
harmonic_partner : :class:`~nifty6.domain.Domain`, \ harmonic_partner : :class:`~nifty7.domain.Domain`, \
:class:`~nifty6.domain_tuple.DomainTuple` :class:`~nifty7.domain_tuple.DomainTuple`
In which harmonic space to define the power spectrum In which harmonic space to define the power spectrum
""" """
if harmonic_partner is None: if harmonic_partner is None:
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
import numpy as np import numpy as np
from numpy.testing import assert_allclose from numpy.testing import assert_allclose
import nifty6 as ift import nifty7 as ift
from ..common import setup_function, teardown_function from ..common import setup_function, teardown_function
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
import numpy as np import numpy as np
from numpy.testing import assert_allclose from numpy.testing import assert_allclose
import nifty6 as ift import nifty7 as ift
from ..common import setup_function, teardown_function from ..common import setup_function, teardown_function
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
import numpy as np import numpy as np
from numpy.testing import assert_allclose from numpy.testing import assert_allclose
import nifty6 as ift import nifty7 as ift
from ..common import setup_function, teardown_function from ..common import setup_function, teardown_function
......
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