Skip to main content
. Author manuscript; available in PMC: 2015 Feb 10.
Published in final edited form as: Neuroimage. 2013 May 3;79:241–263. doi: 10.1016/j.neuroimage.2013.04.091
      Algorithm for optimal time window division
For λ = from λ1 to λ2
  For m = from 1 to m0
    Establish Sopt (m, λ) by solving the constrained optimization problem (12)
  End
  Calculate the BIC for each Sopt (m, λ) by (13)
End
Find the optimal Sopt (mopt, λopt) with the smallest BIC