diff --git a/nifty6/library/correlated_fields.py b/nifty6/library/correlated_fields.py index 6120cc82f5c9a6c4d387b2e589c130f04e5e82ff..98b9181589db24d6c416b4f672b51c02f0065815 100644 --- a/nifty6/library/correlated_fields.py +++ b/nifty6/library/correlated_fields.py @@ -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 diff --git a/test/test_operators/test_adjoint.py b/test/test_operators/test_adjoint.py index 8bf2692d15a1dc9cc851f1eeb153cdf59f9c5e54..a5ca311181c75e20548aa1b6a1014cd5563bef10 100644 --- a/test/test_operators/test_adjoint.py +++ b/test/test_operators/test_adjoint.py @@ -11,7 +11,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . # -# Copyright(C) 2013-2019 Max-Planck-Society +# Copyright(C) 2013-2020 Max-Planck-Society # # NIFTy is being developed at the Max-Planck-Institut fuer Astrophysik.