Low firing rates: an effective Hamiltonian for excitatory neurons