nonlinear spatio temporal gain and index distribution