saealib.PopulationAttribute¶
- class saealib.PopulationAttribute(name, dtype, shape=(), default=nan)[source]¶
Bases:
objectPopulation attribute definition.
- Parameters:
name (str)
dtype (type | dtype)
shape (tuple[int, ...])
default (Any)
- name¶
Name of the attribute.
- Type:
str
- dtype¶
Data type of the attribute.
- Type:
Type | np.dtype
- shape¶
Shape of the attribute.
- Type:
Tuple[int, …]
- default¶
Default value for the attribute.
- Type:
Any
Methods
Method Details
- PopulationAttribute.__init__(name, dtype, shape=(), default=nan)¶
- Parameters:
name (str)
dtype (type | dtype)
shape (tuple[int, ...])
default (Any)
- Return type:
None