Commit ba8eab3c authored by Philipp Arras's avatar Philipp Arras
Browse files

Merge branch 'patch-1' into 'NIFTy_6'

Update docstring for 'from_random' so that the explanation of the parameters...

See merge request !503
parents 8868bb80 9b6ab874
Pipeline #75525 passed with stages
in 21 minutes and 14 seconds
......@@ -260,10 +260,10 @@ def from_random(domain, random_type='normal', dtype=np.float64, **kwargs):
Parameters
----------
random_type : 'pm1', 'normal', or 'uniform'
The random distribution to use.
domain : Domainoid
the intended domain of the output field
random_type : 'pm1', 'normal', or 'uniform'
The random distribution to use.
dtype : type
data type of the output field (e.g. numpy.float64)
**kwargs : additional parameters for the random distribution
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment