1. A method for determining a location of electrical activity or hyperactivity of nerve cells in an anatomical structure of a body, comprising: generating an electrical conductivity model of the anatomical structure; detecting electrical impulses via at least one input electrode; and using the electrical conductivity model and the detected electrical impulses to determine a location or locations of the electrical activity in the anatomical structure.