set_dm_actuator_commands - set the actuator command array of a deformable mirror.
set the deformable mirror actuator position array.
ap=circle(12); act_dim=16;act_pitch=1;act_vel=1e-4; act=actuator_array(act_dim,act_dim,act_pitch,act_vel); dm=ideal_dm(ap,act); dm=set_dm_timestamp(dm,0); sgn=-1; actuator_command_meters=0.5e-6;command=[]; for i=1:act_dim sgn=-1*sgn; for j=1:act_dim sgn=-1*sgn; command=[command,sgn*actuator_command_meters]; end end dm_command=pixel_array(act_dim); dm_command=set_pix_arr_data(dm_command,command); dm=set_dm_actuator_commands(dm,dm_command);
Chen jingyuan, Gan guangyong (IAPCM, Beijing,China.)
ideal_dm , dm_update , set_dm_timestamp , set_dm_actuator_positions ,