mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 03:53:41 +02:00
docs: gen_correlated_data docstring improved
This commit is contained in:
parent
bb6d380f9f
commit
f808c2243e
1 changed files with 11 additions and 6 deletions
|
@ -40,12 +40,17 @@ def gen_correlated_data(means, cov, name, tau=0.5, samples=1000):
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
means -- list containing the mean value of each observable.
|
means : list
|
||||||
cov -- covariance matrix for the data to be geneated.
|
list containing the mean value of each observable.
|
||||||
name -- ensemble name for the data to be geneated.
|
cov : numpy.ndarray
|
||||||
tau -- can either be a real number or a list with an entry for
|
covariance matrix for the data to be generated.
|
||||||
|
name : str
|
||||||
|
ensemble name for the data to be geneated.
|
||||||
|
tau : float or list
|
||||||
|
can either be a real number or a list with an entry for
|
||||||
every dataset.
|
every dataset.
|
||||||
samples -- number of samples to be generated for each observable.
|
samples : int
|
||||||
|
number of samples to be generated for each observable.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
assert len(means) == cov.shape[-1]
|
assert len(means) == cov.shape[-1]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue