IndexArr#
- class IndexArr(name=None, label=None)[source]#
Bases:
Arr
A special class of Arr used for UIDs and RNG IDs; not to be used as an integer array (for that, use FloatArr)
Attributes
auids
Link to the indices of active agents -- sim.people.auids
isnan
notnan
Alias to self.values, to allow Arr.uids like BoolArr
values
Return the values of the active agents
Methods
- property uids#
Alias to self.values, to allow Arr.uids like BoolArr