create_shcentroids - construct Shack-Hartmann centroids from a wavefront .
construct Shack-Hartmann centroids from a wavefront which is at the far field of the lenslet array of a Shack-Hartmann sensor
pitch=0.000252; a=begin(0.004,1e-6,200); b=circ_ap(a,8*pitch); l=lnslt_array(16,16,0.012246,0.000252,32,32); c=lnslt_arr_transform(b,l); d=create_shcentroids(c,l); shc_fits(d,"SHCentroids");
Chen jingyuan, Gan guangyong (IAPCM, Beijing,China.)