“…In other words, a transformation matrix between the nodal coordinates of the DM and the Zernike modal coordinates of the distorted wavefront is required. The construction of the transformation matrix using the measured phase gradients is explained in Moser et al (2015). By ignoring the first mode, the phase ( w ( x , y , t )) and its gradients ( θ x ( x , y , t ), θ y ( x , y , t )) are expressed in terms of the Zernike modal coordinateswhere n z is the number of the Zernike polynomials, and the transformation matrix can be expressed in as followswhereThen, the DM model in equation (10) can be transformed into modal coordinates as followswhere y∈ℝnz, A=T†AT, ℬ=T†B, and C=CT.…”