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
15
Merge Requests
15
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
edc99725
Commit
edc99725
authored
May 20, 2020
by
Philipp Arras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add docstrings
parent
e5f17f22
Pipeline
#75304
failed with stages
in 3 minutes and 9 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
nifty6/library/correlated_fields.py
nifty6/library/correlated_fields.py
+15
-6
test/test_operators/test_adjoint.py
test/test_operators/test_adjoint.py
+1
-1
No files found.
nifty6/library/correlated_fields.py
View file @
edc99725
...
...
@@ -408,8 +408,12 @@ class CorrelatedFieldMaker:
If not 0, the first entry of the operators target will be an
:class:`~nifty.domains.unstructured_domain.UnstructuredDomain`
with length `total_N`.
dofdex : np.array
#FixMe
dofdex : np.array of integers
An integer array specifying the zero mode models used if
total_N > 1. It needs to have length of total_N. If total_N=3 and
dofdex=[0,0,1], that means that two models for the zero mode are
instanciated; the first one is used for the first and second copy
of the model and the second is used for the third.
"""
if
dofdex
is
None
:
dofdex
=
np
.
full
(
total_N
,
0
)
...
...
@@ -472,10 +476,15 @@ class CorrelatedFieldMaker:
Power law component exponent
prefix : string
prefix of the power spectrum parameter domain names
index :
#FixMe
dofdex :
#FixMe
index : int
Position target_subdomain in the final total domain of the
correlated field operator.
dofdex : np.array
An integer array specifying the amplitude models used if
total_N > 1. It needs to have length of total_N. If total_N=3 and
dofdex=[0,0,1], that means that two models for the zero mode are
instanciated; the first one is used for the first and second copy
of the model and the second is used for the third.
harmonic_partner : :class:`~nifty6.domain.Domain`,
\
:class:`~nifty6.domain_tuple.DomainTuple`
In which harmonic space to define the power spectrum
...
...
test/test_operators/test_adjoint.py
View file @
edc99725
...
...
@@ -11,7 +11,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright(C) 2013-20
19
Max-Planck-Society
# Copyright(C) 2013-20
20
Max-Planck-Society
#
# NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.
...
...
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