laser.measles.components.base_tracker_fadeout
laser.measles.components.base_tracker_fadeout
FadeOutTracker component for tracking the number of nodes with fade-outs.
This module provides a component that monitors and records the number of nodes that have experienced fade-outs (state transitions to 0) at each time tick in the simulation. The tracker maintains a time series of fade-out counts that can be used for analysis and visualization of the model's behavior over time.
laser.measles.components.base_tracker_fadeout.BaseFadeOutTracker(model, verbose=False)
Bases: BasePhase
A phase that tracks and records the number of nodes experiencing fade-outs over time.
This component maintains a time series of fade-out counts by monitoring the number of nodes that have transitioned to state 0 at each simulation tick. The data can be used for analyzing the temporal dynamics of fade-outs in the network.
Attributes:
| Name | Type | Description |
|---|---|---|
fade_out_tracker |
ndarray
|
An array of length nticks that stores the count of nodes in state 0 at each time tick. |
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model
|
The simulation model instance. |
required | |
verbose
|
bool
|
Whether to enable verbose logging. Defaults to False. |
False
|
laser.measles.components.base_tracker_fadeout.BaseFadeOutTrackerParams
Bases: BaseModel
Parameters for the FadeOutTracker component.