Skip to main content
. Author manuscript; available in PMC: 2015 Feb 15.
Published in final edited form as: Neuroimage. 2013 Sep 18;87:427–443. doi: 10.1016/j.neuroimage.2013.09.008

Algorithm 3 SPIGH (Y,C,{G(i)}i=13,{μi}i=13,{si}i=13)a

Initialization: Let = C−1/2Y and C−1/2G. Set Inline graphic1 := {1, 2, … , p1|S1|}, where p1 is the number of eigenmodes per patch in Inline graphic1.
For i = 1, 2, · · · , 3 do:
1: Estimate the cortical activity as X^i=X^SP–MNE(Y,C,GHi(i),si,μi) with the si-sparse support Inline graphiciInline graphici.
2: Set Inline graphici+1 = all the patches in Inline graphici+1 overlapping Inline graphici and their nearest neighbors in Inline graphici+1, and go to step 1.
End
Output: X^SPIGHX^MNE(Y,GH4),i.e., the final estimate is the MNE solution over the central dipoles given by the index set Inline graphic4.