A stochastic model of edge-localized modes in magnetically confined plasmas | Synapse