dewi-kadita: A Python Library for Idealized Fish Schooling Simulation with Entropy-Based Diagnostics
Sandy H. S. Herho, Iwan P. Anwar, Faruq Khadami, Alfita P. Handayani, Karina A. Sujatmiko, Kamaluddin Kasim, Rusmawan Suwarman, Dasapta E. Irawan

TL;DR
dewi-kadita is an open-source Python library that simulates fish schooling behavior using a 3D model and introduces entropy-based metrics to analyze organizational complexity, validated across canonical configurations.
Contribution
The library implements a 3D Couzin zone model with novel entropy diagnostics and a unified Oceanic Schooling Index, enhancing analysis of collective behavior in marine systems.
Findings
Successfully reproduces known phase behaviors in canonical configurations
Entropy metrics discriminate organizational mechanisms beyond classical order parameters
Achieves 10-100x acceleration with JIT compilation for large-scale simulations
Abstract
Collective motion in fish schools exemplifies emergent self-organization in active matter systems, yet computational tools for simulating and analyzing these dynamics remain fragmented across research groups. We present dewi-kadita, an open-source Python library implementing the three-dimensional Couzin zone-based model with comprehensive entropy diagnostics tailored for marine collective behavior research. The library introduces seven information-theoretic metrics -- school cohesion entropy, polarization entropy, depth stratification entropy, angular momentum entropy, nearest-neighbor entropy, velocity correlation entropy, and school shape entropy -- that characterize distinct organizational features inaccessible to classical order parameters. These metrics combine into an Oceanic Schooling Index (OSI) providing a single scalar measure of collective disorder. Validation across four…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMarine and fisheries research · Micro and Nano Robotics · Biomimetic flight and propulsion mechanisms
