Scilab Function
Last update : 21/8/2006

create_shcentroids - construct Shack-Hartmann centroids from a wavefront .

Calling Sequence

[SHartmannCentroids]=create_shcentroids(dwf_in,lnslt_arr)

Parameters

Description

construct Shack-Hartmann centroids from a wavefront which is at the far field of the lenslet array of a Shack-Hartmann sensor

Examples

	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");
 

Author

Chen jingyuan, Gan guangyong (IAPCM, Beijing,China.)

See Also

lnslt_array ,   lnslt_arr_transform ,   shc_fits ,