Added an 'event' property to the 'selectedRoi' object data structure. This property is an array that contains all the events associated with the selection. Currently, there are two types of events: 'occupation' and 'init'.
As well as changed logic for counting the cycles because a bug was found with how the counting occurred.
Added an 'event' property to the 'selectedRoi' object data structure. This property is an array that contains all the events associated with the selection. Currently, there are two types of events: 'occupation' and 'init'.
As well as changed logic for counting the cycles because a bug was found with how the counting occurred.
Added comments in the states code.
Renamed functions to more readable names