Encoding information in neuronal activity