Skip to content

kirkegaardlab/recloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Clustering and Global Spreading of Receptors for Optimal Spatial Gradient Sensing

Physical Review Letters (PRL) arXiv

This repository contains the code used in our Physical Review Letters paper:

Local Clustering and Global Spreading of Receptors for Optimal Spatial Gradient Sensing
Albert Alonso, Robert G. Endres, J. B. Kirkegaard

Setup

Create a virtual enviorment and install the required packages using the following commands:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Note

requirements.txt installs the CUDA 12-compatible version of JAX. Modify this if you're using CPU-only or a different CUDA version.

Run

Run the core simulation:

python cramer.py

Visualize the results:

python visual.py

License

This code is released under the MIT License.

About

[PRL 2025] Official code for Local Clustering and Global Spreading of Receptors for Optimal Spatial Gradient Sensing

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages