How to produce a new modal history
- Open an ARGOS terminal
- Type:
from argos.arbitrator.aoloop.modal_history import AdsecModalHistory
mh=AdsecModalHistory(np.arange(numberOfModes), modalAmplitudeTag, modalBasisTag, argos.aarbCalibrationManager, numberOfFramesUp= FRAMES_UP)
argos.aarbCalibrationManager.saveAoLoopModalHistory(mh, modalHistoryTag)
- Setup ARGOS for calibrations: see HowToSetupARGOSForCalibrations
- Set "zero" slopes offset on the LGSW controller
- Load REC and close loop on the 3 LGS (if you don't have a good REC align manually the hexapod to null as much as possible the TT on the LGSW and skip to point iv)
- Save Adsec flat shape
- Open the AO loop and restore the flat
- Close jitter stabilizer loop and save the current position as "Initial position" in the "Calibration" tab in the LGSW controller GUI
- Set the LGSW frame rate to <500Hz: in the LGSW LAB GUI go to the "Pulse Generator" tab and then in the C tab ("WFS camera trigger"). In the "OFF cycles" field write 19.
- In the argos terminal:
from argos.arbitrator.aoloop import acquire_lgsw_interaction_matrix
lgswIM = acquire_lgsw_interaction_matrix
imacq = lgswIM.AcquireLgswInteractionMatrix(argos.aarbCalibrationManager, lgsw.calibrationManager, argos.adsec, argos.lgsw.controller, argos.lgsw.controller.getActualSubaperturesDefinitionTag(), argos.lgsw.frameBuffer.isWfsCameraUpsideDown(), lgswReconstructorTag, modalHistoryTag, argos._logger, argos)
im= imacq.acquire()
im.displayShift(np.arange(6))
im.generateInteractionMatrix(shift= yourBestGuess)
im.displayIM()
rec = im.createReconstructorObject(np.arange(nnn))
argos.aarbCalibrationManager.saveAoLoopLgswReconstructorMatrix(rec, 'Rec Tag')
How to build a combined ARGOS reconstuctor
See
HowToCreateACombinedReconstructor
Keep track of your work
Remember to keep track of the recorded IMs and all RECs built into the following pages:
To install in the ARGOS SW the new Combined REC:
HowToInstallNewReconstructorInArgosSW
--
MarcoBonaglia - 03 Dec 2014