Determining how stable network oscillations arise from neuronal and synaptic mechanisms