five

Simulation Dataset: Collective anti-predator escape manoeuvres through optimal attack and avoidance strategies

收藏
NIAID Data Ecosystem2026-05-02 收录
下载链接:
https://zenodo.org/record/13991998
下载链接
链接失效反馈
官方服务:
资源简介:
This is a supplementary simulation dataset to reproduce Fig. 3C,D of the manuscript "Collective anti-predator escape manoeuvres through optimal attack and avoidance strategies" by Bartashevich et al. The zip folder contains the following 3 files in h5 format: front attack (out_Npred1_pred_angle0.0.h5), side attack (out_Npred1_pred_angle1.5707963267948966.h5), back attack (out_Npred1_pred_angle3.141592653589793.h5). Each file has the following "keys": KeysViewHDF5 ['circ_seg', 'end', 'endD', 'end_PosVel', 'fount', 'part', 'partD', 'pavas', 'pred', 'predD', 'start', 'start_fountain', 'start_pred', 'swarm', 'swarm_pred0', 'swarm_predD']. The key necessary to reproduce Fig. 3C,D of the aforementioned paper is "fount" (). Namely, "fount" data array consists of 40 simulation runs, 1200 time points, 100 agents, and 8 metrics. The metric with index "0" depicts the value of the Euclidean distance from the agent i to the simulated predator. The metric with index "1" depicts the value of the position angle (theta 1 in rad) of the agent i relative to the simulated predator. The metric with index "2" depicts the value of the flee angle (theta 2 in rad) of the agent i relative to the simulated predator. To estimate the start and the end of the fountain evasion, one can use the following script in Python: import numpy as np m = h5py.File(filename, "r")for key in m.keys():   print(key) fount_runs = m[key]["fount"] for j in range(40):   fnt_start[j]  =   np.where(fount_runs[j, 0:1200, 0:100,5]==1)[0][0]     fnt_end[j]   =   np.where(fount_runs[j, 0:1200, 0:100,5]==1)[0][-1]
创建时间:
2024-10-25
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作