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
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
13
Merge Requests
13
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
54a560d8
Commit
54a560d8
authored
May 21, 2020
by
Martin Reinecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix version
parent
773e7b8c
Pipeline
#75364
passed with stages
in 9 minutes and 5 seconds
Changes
5
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
ChangeLog
ChangeLog
+2
-2
src/library/correlated_fields.py
src/library/correlated_fields.py
+6
-6
test/test_operators/test_conjugation_operator.py
test/test_operators/test_conjugation_operator.py
+1
-1
test/test_operators/test_contraction_operator.py
test/test_operators/test_contraction_operator.py
+1
-1
test/test_operators/test_vdot_operator.py
test/test_operators/test_vdot_operator.py
+1
-1
No files found.
ChangeLog
View file @
54a560d8
...
...
@@ -43,7 +43,7 @@ In order to dive into those subtleties I suggest running the following code and
playing around with the dtypes.
```
import nifty
6
as ift
import nifty
7
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
`nifty
6
.random` for details.
`nifty
7
.random` for details.
Interface Change for from_random and OuterProduct
=================================================
...
...
src/library/correlated_fields.py
View file @
54a560d8
...
...
@@ -365,11 +365,11 @@ class CorrelatedFieldMaker:
around this offset needs to be parametrized.
The resulting correlated field model operator has a
:class:`~nifty
6
.multi_domain.MultiDomain` as its domain and
:class:`~nifty
7
.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:`~nifty
6
.domain_tuple.DomainTuple`
:class:`~nifty
7
.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:`~nifty
6
.domain.Domain`,
\
:class:`~nifty
6
.domain_tuple.DomainTuple`
target_subdomain : :class:`~nifty
7
.domain.Domain`,
\
:class:`~nifty
7
.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:`~nifty
6
.domain.Domain`,
\
:class:`~nifty
6
.domain_tuple.DomainTuple`
harmonic_partner : :class:`~nifty
7
.domain.Domain`,
\
:class:`~nifty
7
.domain_tuple.DomainTuple`
In which harmonic space to define the power spectrum
"""
if
harmonic_partner
is
None
:
...
...
test/test_operators/test_conjugation_operator.py
View file @
54a560d8
...
...
@@ -18,7 +18,7 @@
import
numpy
as
np
from
numpy.testing
import
assert_allclose
import
nifty
6
as
ift
import
nifty
7
as
ift
from
..common
import
setup_function
,
teardown_function
...
...
test/test_operators/test_contraction_operator.py
View file @
54a560d8
...
...
@@ -18,7 +18,7 @@
import
numpy
as
np
from
numpy.testing
import
assert_allclose
import
nifty
6
as
ift
import
nifty
7
as
ift
from
..common
import
setup_function
,
teardown_function
...
...
test/test_operators/test_vdot_operator.py
View file @
54a560d8
...
...
@@ -18,7 +18,7 @@
import
numpy
as
np
from
numpy.testing
import
assert_allclose
import
nifty
6
as
ift
import
nifty
7
as
ift
from
..common
import
setup_function
,
teardown_function
...
...
Write
Preview
Markdown
is supported
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