How srikantvenkitachalam/single-generation-simulation-framework works
This repository is a research simulation framework for exploring larval crowding in laboratory Drosophila populations. Users either run MultiRun.py to generate simulation data or execute figure-specific scripts that configure cultures, simulate development, and plot outcomes. Trait generation supplies individual variation; Culture models the food environment and population interactions, with Larva representing individual animals. The README identifies the Results directory as the source of existing data. Several figure scripts and model variants are listed, but their internal calls were not sampled, so those links are omitted.
Main entry points: Culture_class.py Culture simulation · Traits.py Trait generator · MultiRun.py Batch runs · Fig2BaseModelUncrowd.py Base uncrowded
Components 20
Simulation core
- Trait generator
Traits.py - Culture simulation
Culture_class.py - Larval agent
Larva_class.py
Simulation runs
- Batch runs
MultiRun.py - Deep shallow run
Run10Traits3mLDeepShallow.py
Figure analyses
- Deep shallow analysis
Traits3mLDeepShallow.py - Permeation and occupancy
Fig4PermeationDigSAOccupancy.py - Base uncrowded
Fig2BaseModelUncrowd.py - Waste base model
SuppFigWasteBaseModelUncrowd.py - Expanded uncrowded
SuppFigExpandedModelUncrowd.py - Waste crowding
WasteCrowdBase.py - Base crowding
BaseModelCrowd.py - Full framework
BaseModelfullframework.py - Main effects model
Basefullframework_MainEffects.py - Main effects analysis
Fig3_MainEffects.py - Expanded model analysis
Fig3expanded_model_full.py - Total effects plots
Fig5toteffplots.py - Regression analysis
Regressions.py
Simulation data
- Stored results
Results/Compiled_Total30.xlsx
Other components
- Researcher
Connections 20
- Researcher → Batch runs: runs batches
README.md - Researcher → Base uncrowded: runs analysis
- Batch runs → Culture simulation: creates cultures
MultiRun.py - Batch runs → Trait generator: generates traits
MultiRun.py - Deep shallow analysis → Culture simulation: configures and runs
Traits3mLDeepShallow.py - Deep shallow analysis → Trait generator: generates traits
Traits3mLDeepShallow.py - Permeation and occupancy → Culture simulation: runs cultures
Fig4PermeationDigSAOccupancy.py - Permeation and occupancy → Trait generator: generates traits
Fig4PermeationDigSAOccupancy.py - Base uncrowded → Culture simulation: runs culture
Fig2BaseModelUncrowd.py - Base uncrowded → Trait generator: generates traits
Fig2BaseModelUncrowd.py - Waste base model → Culture simulation: runs culture
SuppFigWasteBaseModelUncrowd.py - Waste base model → Trait generator: generates traits
SuppFigWasteBaseModelUncrowd.py - Expanded uncrowded → Culture simulation: runs culture
SuppFigExpandedModelUncrowd.py - Expanded uncrowded → Trait generator: generates traits
SuppFigExpandedModelUncrowd.py - Waste crowding → Culture simulation: runs cultures
WasteCrowdBase.py - Waste crowding → Trait generator: generates traits
WasteCrowdBase.py - Base crowding → Culture simulation: runs cultures
BaseModelCrowd.py - Base crowding → Trait generator: generates traits
BaseModelCrowd.py - Culture simulation → Larval agent: creates larvae
Culture_class.py - Researcher → Stored results: loads existing data
README.md