Deterministic code

Single flash models for both types of data, and multi flash and
background light adaptation models for electrophysiology