Skip to content

Commit feebbd1

Browse files
committed
added docstring to produce_dataset_inputs_sampling_covmat method
1 parent d227917 commit feebbd1

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

validphys2/src/validphys/config.py

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,9 +801,23 @@ def produce_dataset_inputs_sampling_covmat(
801801
self, sep_mult=False, use_thcovmat_in_sampling=False, use_t0_sampling=False
802802
):
803803
"""
804-
Produces the correct covmat to be used in make_replica according
805-
to some options: whether to include the theory covmat and whether to
804+
Produces the correct MC replica method sampling covmat to be used in
805+
make_replica according to some options: whether to sample using a t0
806+
covariance matrix, include the theory covmat and whether to
806807
separate the multiplcative errors.
808+
809+
Parameters
810+
----------
811+
sep_mult : bool
812+
Whether to separate the multiplicative errors.
813+
use_thcovmat_in_sampling : bool
814+
Whether to include the theory covariance matrix.
815+
use_t0_sampling : bool
816+
Whether to sample using a t0 covariance matrix.
817+
818+
Returns
819+
-------
820+
Callable
807821
"""
808822
from validphys import covmats
809823

0 commit comments

Comments
 (0)