Here lies the code for agent-based modeling of P. carolinus fireflies with a modified integrate-and-fire model, as well as some data and data processing code.
If you want to run simulations, please run
pip install -r requirements.txt
and then you can do python run.py with various flags.