Detection Module
We adopted both deterministic ODE-based and stochastic Gillespie-based methods to optimize our parameters through repeated comparison between these two, and ultimately, to simulate the process of our bacteria detecting the psychoactive ingredient Δ9-THC as accurately as possible.