Electronic states in real space