This invention utilizes a novel approach to achieve unprecedented accuracy for MEG/EEG medical imaging. Precisely isolating locations in the brain can play an important role in treatment procedures. Based on a variation of minimum mean-square error (MMSE) estimation, this approach is a solution to a previously unsolved problem in brain imaging. The approach has been applied to simulated brain MEG auditory response data and has enabled the capability of resolving, both temporally and spatially, the separate components of the primary and secondary auditory responses. This invention is able to precisely locate the primary and secondary responses. Further, this approach can be used in any application involving MEG/EEG imaging.