voiage.schema.DynamicSpec
Specification for dynamic or sequential VOI analyses.
Attributes
Section titled “Attributes”time_steps : Sequence[float] A sequence of time points (e.g., years from present) at which decisions or data accrual occur.
Examples
Section titled “Examples”>>> from voiage.schema import DynamicSpec >>> spec = DynamicSpec([0.0, 1.0, 2.0]) >>> list(spec.time_steps) [0.0, 1.0, 2.0]
Raises
Section titled “Raises”InputError
If time_steps is not a non-empty sequence of numbers.