components.parameter

Module Contents

Classes

Parameter

An object of this class represents the Parameter.

class components.parameter.Parameter(name)

Bases: Storage

An object of this class represents the Parameter.

Parameters

name (str) – the name of the parameter

Examples

para1 = Parameter(‘para1’)

para1.attrs[‘value’] = 1 para1.attrs[‘units’] = ‘cm’

para1.attrs[‘variable’] = ‘-’

para1.attrs[‘origin’] = ‘this’