Download Adaptive Optics simulation IDL code A User Manual

Transcript
14
CHAPTER 2. THE INPUT FILES
The content of the le is explained in the header. The code will compute the inuence functions for each
electrodes (remember, this is for bimorph mirrors only) from these parameters, and will write a ts le containing
the inuence functions. It will print out the total number of electrodes and the ts le name.
Note : The parameter which denes the 'direction of rotation', the 'angle of incidence' and the
'mirror ellipticity' are not used in the IDL version of the simulations.
2.5
The phase screens
These should be ts les, with a r0 per pixel of 1, with the phase expressed in radian. The conversion to a given
D=r0 is done in the loop subroutine. The phase screens are shifted across the pupil to simulate moving layers.
Screens 1, 3 and 5 are translated along the 'X' axis (same direction) and screens 2 and 4 are translated along
the 'Y' axis. All the screens must have the same dimension. The shorter axis must be at least equal to the
pupil dimension in pixel. The length of the long axis determines the maximum number of iteration achievable
in a loop run. The long and short axis position (NAXIS1 greater or smaller than NAXIS2) in the ts le has
no importance. The phase screens are transposed by the routine if not in the right conguration. Typically,
1281024 (or 1024 128), or 2001000 phase screens are suited. You can emulate an atmosphere with less
layers than 5 by setting the other \layer fractions" to 0, but all the screen name should be lled with a valid
le name.