How to define a subapertures set
To create a new subapertures set or just modify the slope computing method you have 2 possibilities:
- create a new subapertures set:
- modify an existing subapertures set
How to create a new subapertures set
- Check pupils centers on ccd_viewer (the XY coordinates of the viewer are inverted with respect the python code)
- Open the defineSupertures procedure in the lgsw sandbox
- Set the measured centers coordinates in the procedure
- From terminal
make-install
the code
- Open an argos terminal
- Type:
from argos.lgsw import sandbox
sb=sandbox.defineSubapertures()
How to restore an existing subaperture set
- Open an argos terminal
- Restore a subaperture set:
sb=argos.lgsw.calibrationManager.subaperturesDefinition('subapsTag')
How to modify an existing subaperture set
The subaperture class implements the possibility to shift independently the 3 pupils of an existing subaperture set. To perform this action follow these instructions:
- In the LGSW controller GUI set the subaperture definition tag you want to modify
- Check the real pupils centers on the ccd_viewer (the XY coordinates of the viewer are inverted with respect the python code)
- On the same GUI check the actual subapertures set centers
- Compute the difference: [xShift, yShift]= [xRealPupilCenter - xActualSubapsCenter, yRealPupilCenter - yActualSubapsCenter]
- Restore the subaperture set you want to modify
- In the same terminal type (using pupId= 0 for BlueChannel, pupId= 1 for YellowChannel, pupId= 2 for RedChannel,):
sb.shiftPupil(pupId, [xShift, yShift])
How to remove subapertures from a set
- Open a ccd_viewer and select in the Display drop down menu the idSubAp property.
- Identify the index of the subap that you want to add/remove just moving the mouse on it.
- In the argos terminal type:
sb.removeSubap([xxx,yyy,zzz])
How to select a slope computing algorithm
The default slope computing algorithm is
CoG. A different one can be chosen modifying the weight or threshold values of each subaperture in the set:
How to save a subapertures set
- In the argos terminal type:
argos.lgsw.calibrationManager.saveSubaperturesDefinition(sb, 'SubapTag', None)
Subap definition history
Subap tag |
SC algo |
Removed suabps |
20150226_233800 |
TCoG48 |
[251,265,266,267,281,74,88,89,90,104,428,442,443,444,458,66,81,96,111] |
--
MarcoBonaglia - 27 Feb 2015