20200714_SX_DAY Test 4D Routines in New SOUL, SX Flat with New 4D, trying to get 600 modes

Alignement

08:00 Authorize, collimate, etc

08:24 Find Cat Eye source.
  • Start taking snapshots for 4d and m2 to get directions
  • Will insert into 4D document
  • images on my Mac ~/Desktop/20200714/

09:19 Test image acquisition
  • print, get_img4d(/show)
  • Looks fine

09:40 First Hexalign
  • $ InterferometerCtrl -i interferometerctrl
  • IDL> print, idl_4d_init()
    • IDL> 0
  • IDl> print, hexalign(/show)
    • image looks fine
    • delta values are huge
    • Xianyu had collected a hexapod recon on 20200709 with no light. This was used
    • mv /local/aomeas/adsec_calib/hexapod/20200709_203308 /tmp/.

09:50 hexalign with old recon
  • 20191122_203009
  • Good deltas
  • print, hexalign(/show, /apply)
    • looks good
    • mostly astigmatism seen on 4D

09:53 Flatten with 100 modes
  • print, opt_int_mat_reduce2(100, track='20200610_220338')
  • print, opt_int_mat_reduce2(400, track='20200610_220338')
    • /local/aomeas/adsec_calib/flat/20200714_171607/flattening_result.sav

10:26 Measure new Hexapod reconstructor
  • print, hexapod_opt_calib()
    • /local/aomeas/adsec_calib/hexapod/20200714_173436/

10:46 Use new recon
  • print, hexalign(/show, /apply)
  • very small values. Look good

10:49 Add mask on "bad" spot
  • load mask 20200626_165100.mask
  • Add mask at 9:00
  • Save as 20200714_180600.mask
  • Use this to re-analyze data from 3 weeks ago

11:14 Shift mask for today's pupil position
  • save as 20200714_192200.mask

11:47 Flatten with old Recon
  • AdOpt>print, opt_int_mat_reduce2(100, track='20200626_171506')
  • AdOpt>print, opt_int_mat_reduce2(400, track='20200626_171506')
    • /local/aomeas/adsec_calib/flat/20200714_184650/flattening_result.sav
    • 0.086 wv rms

11:48 Collect new reconstructor
  • Collect modes with TT remaining
    • Menu "Shape" (on left)
      • click None
    • AdOpt>print, i4d_opt_intmat(0,10)
    • print, i4d_opt_intmat(0,10)
    • (mistake and left TT removed on shape menu 20200714_185025)
    • 20200714_185127

  • Collect modes with TT remaining
    • Menu "Shape" (on left)
      • click Zernike Shape Removed
      • check Piston, Tip, Tilt
    • AdOpt>print, i4d_opt_intmat(11,100)
      • (mistake and left TT NOT removed on shape menu 20200714_185310)
      • 20200714_185607 TT removed
    • AdOpt>print, i4d_opt_intmat(101,200)
      • (mistake and left TT NOT removed on shape menu 20200714_185415)
      • 20200714_185659 TT removed
    • AdOpt>print, i4d_opt_intmat(201,400)
      • 20200714_185744 TT removed
    • AdOpt>print, i4d_opt_intmat(401,600)
      • 20200714_185908 TT removed

01:45 Start producing and analyzing flattening data
    • tn = ['20200714_185127', '20200714_185607','20200714_185659','20200714_185744', '20200714_185908']
    • for i=0, n_elements(tn) do print, idl_4d_produce(tn[i])
    • for i=0, n_elements(tn) do print, if_redux_new(/MODAL, tn[i], plot=4, /force)

01:58 Measure new IF data
  • TT NOT removed by 4D for modes 0-9
  • Start at 20200714_205755 (mode 0), 20200714_205922 (mode 9)
  • TT IS removed by 4d for modes 10-600
  • Start at 20200714_210151 (mode 10), 20200714_213356 (mode 600)

tn=['20200714_205755','20200714_205827','20200714_205850','20200714_205922','20200714_210151','20200714_210214','20200714_210238','20200714_210305','20200714_210333','20200714_210400','20200714_210428','20200714_210455','20200714_210523','20200714_210550','20200714_210618','20200714_210646','20200714_210713','20200714_210741','20200714_210809','20200714_210837','20200714_210904','20200714_210932','20200714_210959','20200714_211025','20200714_211052','20200714_211140','20200714_211207','20200714_211234','20200714_211301','20200714_211328','20200714_211355','20200714_211422','20200714_211449','20200714_211516','20200714_211542','20200714_211611','20200714_211638','20200714_211705','20200714_211733','20200714_211800','20200714_211827','20200714_211855','20200714_211922','20200714_211949','20200714_212017','20200714_212044','20200714_212111','20200714_212138','20200714_212206','20200714_212233','20200714_212300','20200714_212328','20200714_212355','20200714_212422','20200714_212450','20200714_212517','20200714_212544','20200714_212612','20200714_212639','20200714_212706','20200714_212734','20200714_212801','20200714_212828','20200714_212856','20200714_212923','20200714_212950','20200714_213018','20200714_213045','20200714_213112','20200714_213140','20200714_213207','20200714_213234','20200714_213302','20200714_213329','20200714_213356']
for i = 0,n_elements(tn)-1 do print, tn[i]
for i = 0,n_elements(tn)-1 do print, idl_4d_produce(tn[i])
for i = 0,n_elements(tn)-1 do print, if_redux_new(/MODAL, tn[i], PLOT=1, /FORCE)

02:40 flatten analysis done
  • IDL> print, build_int_mat(tn)

02:55 Flatten with new Recon
  • new_original*.jpg (x2)
  • AdOpt>print, opt_int_mat_reduce2(100, track='20200714_185127')
    • new_100m_*.jpg (x2)
  • AdOpt>print, opt_int_mat_reduce2(400, track='20200714_185127')
    • /local/aomeas/adsec_calib/flat/20200714_220411/flattening_result.sav
    • new_400m*.jpg
    • forces < +-0.2
  • AdOpt>print, opt_int_mat_reduce2(600, track='20200714_185127')
    • /local/aomeas/adsec_calib/flat/20200714_221247/flattening_result.sav
    • forces < +-0.23

04:04 Flattening
  • AdOpt>print, opt_int_mat_reduce2(100, track='20200714_185127')
  • AdOpt>print, opt_int_mat_reduce2(400, track='20200714_185127')
    • /local/aomeas/adsec_calib/flat/20200714_230447/flattening_result.sav
    • forces < +-0.2
  • AdOpt>print, opt_int_mat_reduce2(500, track='20200714_185127')
    • /local/aomeas/adsec_calib/flat/20200714_230904/flattening_result.sav
    • forces < +-0.24
    • new_500m*.jpg (x2)

04:18 Set default.sav to 400 mode flat with lowest forces
[AOeng@sxadsec Applicable]$ ls -l default.sav 
lrwxrwxrwx. 1 AOeng aoeng 40 Jul  4 19:28 default.sav -> ../20181025_225534/flattening_result.sav

[AOeng@sxadsec Applicable]$ ls -l default.sav 
lrwxrwxrwx. 1 AOeng aoeng 40 Jul 14 23:18 default.sav -> ../20200714_230447/flattening_result.sav

04:20 Apply new default.sav flat
  • 80 nm rms
  • AdOpt>print, opt_int_mat_reduce2(400, track='20200714_185127')
    • /local/aomeas/adsec_calib/flat/20200714_232358/flattening_result.sav
    • forces < +-0.21
    • 55 nm rms

  1016|2020-07-14 23:26:28.187306|             MAIN > command/position: 5.5424828e-05 5.4527403e-05
idl_45356          |INF|      1017|2020-07-14 23:26:29.024391|             MAIN > command/position: 5.6361654e-05 5.5463542e-05
idl_45356          |INF|      1018|2020-07-14 23:26:29.779263|             MAIN > command/position: 5.7298481e-05 5.6400256e-05
idl_45356          |INF|      1019|2020-07-14 23:26:30.500125|             MAIN > command/position: 5.8235307e-05 5.7340106e-05
AdSecArbitrator_45473|INF|        80|2020-07-14 23:17:24.151002|   COMMANDHANDLER > FSM (status: AOSet) has received command 2020 (Load shape)
AdSecArbitrator_45473|INF|        81|2020-07-14 23:17:29.577175|   COMMANDHANDLER > Command Load shape (code 2020) successfully completed
AdSecArbitrator_45473|INF|        82|2020-07-14 23:25:43.224307|             MAIN > Received cmd: Rest()
AdSecArbitrator_45473|INF|        83|2020-07-14 23:25:43.224428|   COMMANDHANDLER > FSM (status: AOSet) has received command 2010 (Rest)
AdSecArbitrator_45473|INF|        84|2020-07-14 23:25:43.743999|      ADAM-MODBUS > AdamModbus: disabling coils...
AdSecArbitrator_45473|ERR|        85|2020-07-14 23:25:43.744203|      ADAM-MODBUS > [TcpReceiveException] Error receiving data (errno=0, error message means: Success, received Bytes = 0 ), socket closed. (code -15003) TcpConnection receive error File TcpConnection.cpp line 133
AdSecArbitrator_45473|ERR|        86|2020-07-14 23:25:43.744245|      ADAM-MODBUS > SetSingleCoil: failed to RecvForceSingleCoil
AdSecArbitrator_45473|INF|        87|2020-07-14 23:25:48.170360|   COMMANDHANDLER > Command Rest (code 2010) successfully completed
AdSecArbitrator_45473|INF|        88|2020-07-14 23:26:07.016150|             MAIN > Received cmd: SetFlatAo()
AdSecArbitrator_45473|INF|        89|2020-07-14 23:26:07.016237|   COMMANDHANDLER > FSM (status: Ready) has received command 2009 (Set Flat AO)
AdSecArbitrator_45473|INF|        90|2020-07-14 23:28:02.221345|             MAIN > Adding AlertNotifier for adseccontrol1.L
AdSecArbitrator_45473|INF|        91|2020-07-14 23:28:02.221396|   ALERT-NOTIFIER > ArbitratorInterface to adseccontrol1.L succesfully created!
20201407 23:28:10.7763 Alert: HighOrderOffload: HighOrderOffload vector ready
  • flat_executing.jpg:
    flat_executing.jpg

23:24 Collect free running data
  • IDL> print, idl_4d_capture(1000)
  • 20200714-234511 (TT Removed)
  • Name has - rather than _. May be OK
  • 20200714-235251
  • 2000 frames 20200714-235438 (TT Removed)
  • 2100 frames (max available) 20200715-000134 (TT Removed)

00:04 Collect free running data
  • 2100 frames 20200715-000433 (TT NOT Removed)
  • 1000 frames 20200715-000820 (TT NOT Removed)

-- DougMiller - 14 Jul 2020
Topic revision: r5 - 17 Jul 2020, DougMiller
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback