morpho.processors.sampling.GaussianSamplingProcessor module

Some template vars

Members: GaussianSamplingProcessor

Functions:

Classes:

Gaussian distribution sampling processor Authors: M. Guigue Date: 06/26/18

Summary

Data:

Reference

class morpho.processors.sampling.GaussianSamplingProcessor.GaussianSamplingProcessor(name, *args, **kwargs)[source]

Bases: morpho.processors.BaseProcessor.BaseProcessor

Sampling processor that will generate a simple gaussian distribution using TRandom3. Does not require input data nor model (as they are define in the class itself)

Parameters:
  • iter (required) – total number of iterations (warmup and sampling)
  • mean – mean of the gaussian (default=0)
  • width – width of the gaussian (default=0)
Input:
None
Results:
results: dictionary containing the result of the sampling of the parameters of interest
InternalConfigure(input)[source]

Method called by Configure() to set up the object. Must be overridden by child class.

InternalRun()[source]

Method called by Run() to run the object. Must be overridden by child class.