The temporal pattern of synaptic activation determines the longevity of structural plasticity at dendritic spines