Type

Main Interface ›› Bacteria ›› Morphologies ›› Options ››
Parent Previous Next

Each particle is tested against all the active types until at least one specific criterion is met. If not, the default type (1) is attributed to the particle. When a particle meets the criterion of a specific type, the associated index, label and color is attributed to the particle. When a particle meets more than one criterion, only the last one is attributed to the particle.


Title: Define the label associated with the specific type. The label can be any string of characters. Default setting is empty.


Criteria: Defines the criteria associated with the specific type (see the Criteria section). Criteria are a set of properties or expressions that can be evaluated to True or False. A criterion is met when the condition evaluates to True. Criteria can use any comparison operator (‘>’, ’<’, ’=’, ’<=’, ’>=’), any calculation operator (‘+’, ’-‘, ’/’) or any binary operator (‘&’, ’|’, ’and’, ‘or’). For example, ‘SHAPE.length>20’ is a logical expression; if the length of the Particle is greater than 20, the expression evaluates to True. Otherwise, the expression evaluates to False. Default setting is empty.


Color: Selects the color associated with the specific type. Default setting is green.

Created with the Personal Edition of HelpNDoc: Generate EPub eBooks with ease