Data for Adaptive leadership overcomes persistence-responsivity tradeoff in flocking

Published: 27 April 2020| Version 1 | DOI: 10.17632/3brbybg4nk.1
Contributor:
Boldizsár Balázs

Description

Scripts to parse raw files of the simulation framework given by https://github.com/csviragh/robotsim, and data from which figures are generated for the paper titled 'Adaptive leadership overcomes persistence-responsivity tradeoff in flocking' by Boldizsar Balazs, Gabor Vasarhelyi and Tamas Vicsek, published in Journal of The Royal Society Interface in 2020.

Files

Steps to reproduce

Reading out the files and creating the plots: Figure 2: python create_k_plot.py -p Responsivity -d Figure 2 & 3: Responsivity vs k/*250A-sqrt*.p Figure 3: python create_k_plot.py -p Responsivity -d Figure 2 & 3: Responsivity vs k/*250A-sqrt*.p Figure 2 & 3: Responsivity vs k/v-w-s-sw-resp-kscan-1000A-sqrttime.p Figure 2 & 3: Responsivity vs k/*100A*sqrttime*.p Figure 2 & 3: Responsivity vs k/all-resp-2500A-sqrttime.p -N 250 250 1000 100 100 2500 Figure 4: python create_persistence_responsivity_plot.py -d pers-vs-resp-highnoise-250A-k15.p pers-vs-resp-highnoise-250A-k15_SW.p pers-vs-resp-highnoise-250A-k15_VW.p -z 13.8 Figure 5: python create_density_max_plot.py --inputfile willfull-posandvel.dat dronelflock18-posandvel.dat --label WillFull DroneFlock'18 --division 28 --arenaradius 700 --smooth 500