nifty8.operators.normal_operators module#
- LognormalTransform(mean, sigma, key, N_copies)[source]#
Opchain that transforms standard normally distributed values to log-normally distributed values with given mean an standard deviation.
- Parameters:
mean (float) – Mean of the field
sigma (float) – Standard deviation of the field
key (string) – Name of the domain
N_copies (integer) – If == 0, target will be a scalar field. If >= 1, target will be an
UnstructuredDomain
.
- NormalTransform(mean, sigma, key, N_copies=0)[source]#
Opchain that transforms standard normally distributed values to normally distributed values with given mean an standard deviation.
- Parameters:
mean (float) – Mean of the field
sigma (float) – Standard deviation of the field
key (string) – Name of the operators domain (Multidomain)
N_copies (integer) – If == 0, target will be a scalar field. If >= 1, target will be an
UnstructuredDomain
.