Sovereign 8s.is mirror of standardgalactic/schooling_extreme
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-01-07 12:14:16 -08:00
analysis_code upload final code for paper "Self-reorganization and Information Transfer in Massive Schools of Fish" 2025-11-02 03:18:29 -08:00
sample_data/Ip90_In05_R10_time1000_num100_0 add sample data 2025-12-05 09:16:26 -08:00
simulation_code Delete simulation_code/main_large_school_heterogeneous.py 2025-11-10 19:07:38 -08:00
LICENSE Add MIT License to the project 2026-01-07 12:14:16 -08:00
README.md Fix typos and update link formatting in README 2025-12-05 09:32:02 -08:00

schooling_extreme

Schooling of thousands of fish following vision and flow interactions

Dependence and Installation

The code reqiures standard python packages, such as numpy, scipy, numba, matplotlib, which can be install using

pip install numpy scipy matplotlib numba tqdm pickle

The installation would typiclaly take within a minute for isntallltation.

Demo

Simulations are performed using scirpt code. Parameters can be changed within code, and the runtime depends on number of swimmers N in the code. For 100 swimmer, run time is about several minutes on a "normal" desktop, and runtime scale with N^2. When scaling to 10,000 fish, simulation would reqiure a high performance workstation.

One sample dataset of 100 fish is given in data.

Data are then analyzed using scripts in analysis_code, e.g. code calculates order parameter, code identifies clusters when the school is fragmented, code identifies correlation function and correlation length, code evaluates information transfer speed.

The expected output are reported in our manuscript.