|
coffee
Coronagraph Optimization For Fast Exoplanet Exploration
|
PIAA-type coronagraph design. More...
Functions | |
| double | PIAACMCsimul_computePSF (float xld, float yld, long startelem, long endelem, int savepsf, int sourcesize, int extmode, int outsave) |
| Compute PSF. More... | |
Variables | |
| PIAACMCsimul_varType | piaacmcsimul_var |
| OPTSYST * | optsyst |
| optical system description More... | |
| OPTPIAACMCDESIGN * | piaacmc |
PIAA-type coronagraph design.
Can design both APLCMC and PIAACMC coronagraphs
| double PIAACMCsimul_computePSF | ( | float | xld, |
| float | yld, | ||
| long | startelem, | ||
| long | endelem, | ||
| int | savepsf, | ||
| int | sourcesize, | ||
| int | extmode, | ||
| int | outsave | ||
| ) |
Compute PSF.
Source is defined by parameters sourcesize and extmode :
PSF is held in shared memory by default
| name | type | Description |
|---|---|---|
| scoringmask | 2D image | focal plane points used for evaluation |
| <piaacmcdir>/scoringmask<N>.fits | 2D FITS | focal plane points used for evaluation |
| imvec | 1D image | output vector |
| psfi0 | 3D image | output PSF |
The scoring mask is the array of evaluation points on the focal plane
Compute the PSF as the complex amplitude for the evaluation points on the focal plane for a given FPM zone thickness based on the FPMresp array computed in mode 11
PSF result is stored in outtmp_array
imvect for storage if it exists, or create itimvect piaacmcsimul_var.PIAACMCSIMUL_VAL0 as total fluxset value to average value per area normalized to flux
The PSF for an extended source is approximated as a collection of point sources. Sourcesize determines the separation of the point sources
outsave = 1, save PSF to FITS fileoutsave = 1, save flux to txt filecalls PIAACMCsimul_init()
calls PIAACMCsimul_makePIAAshapes()
| yld | ||
| [in] | xld | float: Source X position [l/D] |
| startelem | ||
| [in] | yld | float: Source Y position [l/D] |
| endelem | ||
| [in] | startelem | long : First element in propagation |
| savepsf | ||
| [in] | endelem | long : Last element in propagation |
| sourcesize | ||
| [in] | savepsf | int : Save PSF flag |
| extmode | ||
| [in] | sourcezise | int : Source size (10x log10) |
| outsave | ||
| [in] | extmode | int : Source extended type |
| [in] | outsave | int : Save output flag |
| OPTSYST* optsyst |
optical system description
| OPTPIAACMCDESIGN* piaacmc |
| PIAACMCsimul_varType piaacmcsimul_var |