MAOS
Multithreaded Adaptive Optics Simulator
|
Functions | |
void | proj_rect_grid (real *phiout, const rmap_t *mapin, real thetax, real thetay, const loc_t *locout, const real ratiox, const real ratioy, const real *ampout, real sc, real hs, real ht, real betax, real betay) |
void | m3proj (const rmap_t *tsurf, dmat *opd, const loc_t *locin, real thetax, real thetay, real hs) |
dmat * | m3proj2 (dmat *mapin_0, const char *keywords, const loc_t *locout, real thetax, real thetay, real hs) |
Project from a tilt surface to flat surface (M3).
void proj_rect_grid | ( | real * | phiout, |
const rmap_t * | mapin, | ||
real | thetax, | ||
real | thetay, | ||
const loc_t * | locout, | ||
const real | ratiox, | ||
const real | ratioy, | ||
const real * | ampout, | ||
real | sc, | ||
real | hs, | ||
real | ht, | ||
real | betax, | ||
real | betay | ||
) |
Ray tracing for tilted surface like M3
[out] | phiout | output OPD |
mapin | mapin: M3 surface map, NOT OPD. | |
thetax | tilt of surface along x, 0 or pi/2 | |
thetay | tilt of surface along y, pi/2 or 0 | |
locout | output grid | |
ratiox | pupil x scaling. | |
ratioy | pupil y scaling. | |
ampout | amplitude of output grid | |
sc | scaling of OPD | |
hs | distance from exit pupil to object image | |
ht | distance from exit pupil to M3 surface | |
betax | real beam angle | |
betay | real beam angle |
void m3proj | ( | const rmap_t * | tsurf, |
dmat * | opd, | ||
const loc_t * | locout, | ||
real | thetax, | ||
real | thetay, | ||
real | hs | ||
) |
Wraps proj_rect_grid for M3.