1. A system comprising: a storage unit configured to store data corresponding to electrical activity of a brain; a processor coupled to the storage unit and configured to execute a set of instructions to generate a location of at least one dipole source corresponding to the stored data, the location determined by an extreme of a cost function applied to a projection of a set of vectors, the set of vectors related to an array manifold associated with a selected region of the brain and the set of vectors spanning a first subspace determined by the stored data and a selected portion of a second subspace wherein the second subspace is orthogonal to the first subspace; and an output device for rendering a location of the at least one dipole source.