Spiral wave control via dynamic learning optimized photon scanning approach | Synapse