The first code block in 1) Create GroundTruth defines timestep_size that does not appear to be referenced. The variable value is a timedelta of 5 seconds. The generated data appears to a time step of 1 second.
timestep_size = datetime.timedelta(seconds=5)
One possible use in cell 4
ground_truth_gen = SwitchMultiTargetGroundTruthSimulator(
initial_state=initial_state,
transition_models=[constant_velocity, turn_left, turn_right],
timestep = timestep_size,
model_probs=model_probs, # put in matrix from above
number_steps=number_steps, # how long we want each track to be
birth_rate=0,
death_probability=0,
preexisting_states=preexisting_states
)
The first code block in 1) Create GroundTruth defines timestep_size that does not appear to be referenced. The variable value is a timedelta of 5 seconds. The generated data appears to a time step of 1 second.
timestep_size = datetime.timedelta(seconds=5)
One possible use in cell 4