Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
oguyon committed Oct 10, 2024
1 parent 239ffee commit 9c2ef6a
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions AOloopControl/scripts/aorun/cacao-aorun-065-zonalfiltering
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,33 @@
MSdescr="Zonal filtering and control"

MSextdescr="Zonal filtering and control
"
on/off: toggles zonal filter on/off
cal: compute conversion matrix from DM to modes, to be used by CACAO_FPSPROC_MVMGPU_DM2MVAL
ACTION = on
- Change CU dm2mval output from aolX_dmC to aolX_zvalDM
- start zonal filtering process, input aolX_zvalDM output aolX_dmC
ACTION = off
- Change CU dm2mval output from aolX_zvalDM to aolX_dmC
- stop zonal filtering process
ACTION = cal
Use CMmodesDM to computes a conversion matrix from DM map to mode values.
Input:
FILE conf/CMmodesDM.fits
Controm modes, DM space
Output:
FILE conf/modesDMinv.fit
pseudo-inverse of DM space control modes
FILE conf/matDM2mval_psinvcheck.fits
pseudo inverse check. Should be identity
FILE conf/matDM2mval.fits
STREAM aolX_matDM2mval
conversion matrix from DM to mode values
"

source milk-script-std-config
source cacao-check-cacaovars
Expand Down Expand Up @@ -68,7 +94,7 @@ linalg.compSVD .GPUdevice 0
linalg.compSVD .compmode 6
linalg.compSVD CMmDM SVDU SVDS SVDV ${calsvdlim}
#saveFITS SVDinrec "SVDinrec.fits"
#saveFITS psinvcheck "psinvcheck.fits"
saveFITS psinvcheck "conf/matDM2mval_psinvcheck.fits"
saveFITS psinv "conf/modesDMinv.fits"
imgbasic.imswapaxis2D psinv matDM2mval
listim
Expand Down

0 comments on commit 9c2ef6a

Please sign in to comment.