Parameter class used to define parameters passed from user to SimuCell
plugins.
The
Parameter class is used by SimuCell as an interface to accept all
information input from users. The
Parameter class defines the name,
type,allowed values, and a description of the input variable.
Parameter properties:
name - a string defining the name of the variable
(this is the name seen in the GUI)
value - default value of the variable (this is used if
the value is not specified by the user). The type must match
the variable 'type'.
type - the class/type of the input variable. Allowed
types are defined in SimuCell_Class_Type.
allowed_values - allowed values for this input variable. The
format depends on the variable 'type'
description - a short string description of the variable.
This will show up as a tooltip in the GUI
Usage:
overlap=Overlap_Specification;
overlap.AddOverlap({subpop{1}.objects.cytoplasm,...
subpop{2}.objects.cytoplasm},0.05);
simucell_data.overlap=overlap;
Parameter events:
Parameter_Set - This is triggered by the script when value
of a parameter is set.