GaussianLink¶
-
class
prism.modellink.GaussianLink(n_gaussians=1, *args, **kwargs)[source]¶ ModelLinkclass wrapper for a simple Gaussian model, used for testing the functionality of the PRISM pipeline.Formatting data_idx
- x : float
- The value that needs to be used for \(x\) in the function \(\sum_i A_i\exp\left(-\frac{(x-B_i)^2}{2C_i^2}\right)\) to obtain the data value.
-
__init__(n_gaussians=1, *args, **kwargs)[source]¶ Initialize an instance of the
GaussianLinkclass.Other Parameters: n_gaussians (int. Default: 1) – The number of Gaussians to use for the Gaussian model in this instance. The resulting number of model parameters n_parwill be \(3*n_{gaussians}\).
-
n_gaussians¶ Number of Gaussians used in this
GaussianLinkinstance.Type: int