We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bc49fe commit 3adc946Copy full SHA for 3adc946
src/forest/jasmine/mobmat2traj.py
@@ -1253,7 +1253,8 @@ def imp_to_traj(
1253
start_idx = end_idx
1254
end_idx += 1
1255
1256
- # If the trajectory is a flight, add it to the tidy_trajectory
+ # If the trajectory is multiple pauses,
1257
+ # add it to the tidy_trajectory
1258
if temp[start, 0] == 2:
1259
tidy_trajectory.append(
1260
[
@@ -1262,7 +1263,8 @@ def imp_to_traj(
1262
1263
*temp[end, 4:7],
1264
]
1265
)
- # If the trajectory is a pause, add it to the tidy_trajectory
1266
+ # If the trajectory is a flight in one row,
1267
1268
elif end == start:
1269
1270
0 commit comments