20190908 Calculate new KL Basis set for DX

Data Analysis

01:25 UT (Sept. 9)
  • 4D analysis completed this morning
  • Running if_redux_new on data set #2 from yesterday
    • This set has the low amplitude value used last year (from Runa)
  • Analysis complete for data set #3 from yesterday
    • This set has higher amplitudes than Runa's values

Set #3

TT not removed

01:24 Build KL Basis set from #3 data with original data (TT not removed from individual frames)
IDL> TN=['20190907_190508','20190907_190546','20190907_190621','20190907_190650','20190907_190727','20190907_190803','20190907_190837','20190907_190913','20190907_190951','20190907_191027','20190907_191102','20190907_191242','20190907_191318','20190907_191354','20190907_191438','20190907_191513','20190907_191548','20190907_191627','20190907_191702','20190907_191736','20190907_191811','20190907_191958','20190907_192036','20190907_192056','20190907_192116','20190907_192156','20190907_192237','20190907_192312','20190907_192349','20190907_192424','20190907_192458','20190907_192647','20190907_192723','20190907_192758','20190907_192836','20190907_192915','20190907_192950','20190907_193025','20190907_193059']
  • IDL> mm=obj_new('mirmodes', TN, binning=4)
  • IDL> mm->summary_opds
tracknum 		 nn 	 amp [nm] 	 first 	  last 	 missing    sampling
20190907_190508 	 125 	  500.0 	 0 	 4 	 0 	 990 x 1002
20190907_190546 	 125 	  350.0 	 5 	 9 	 0 	 990 x 1002
20190907_190621 	 51 	  250.0 	 10 	 19 	 0 	 990 x 1002
20190907_190650 	 35 	  150.0 	 20 	 37 	 0 	 990 x 1002
20190907_190727 	 35 	  150.0 	 38 	 55 	 0 	 990 x 1002
20190907_190803 	 35 	  150.0 	 56 	 73 	 0 	 990 x 1002
20190907_190837 	 35 	  150.0 	 74 	 91 	 0 	 990 x 1002
20190907_190913 	 35 	  100.0 	 92 	 109 	 0 	 990 x 1002
20190907_190951 	 35 	  100.0 	 110 	 127 	 0 	 990 x 1002
20190907_191027 	 35 	  100.0 	 128 	 145 	 0 	 990 x 1002
20190907_191102 	 35 	  100.0 	 146 	 163 	 0 	 990 x 1002
20190907_191242 	 35 	  100.0 	 164 	 181 	 0 	 990 x 1002
20190907_191318 	 35 	  100.0 	 182 	 199 	 0 	 990 x 1002
20190907_191354 	 35 	  100.0 	 200 	 217 	 0 	 990 x 1002
20190907_191438 	 35 	  100.0 	 218 	 235 	 0 	 990 x 1002
20190907_191513 	 35 	  100.0 	 236 	 253 	 0 	 990 x 1002
20190907_191548 	 35 	  100.0 	 254 	 271 	 0 	 990 x 1002
20190907_191627 	 35 	  100.0 	 272 	 289 	 0 	 990 x 1002
20190907_191702 	 35 	  100.0 	 290 	 307 	 0 	 990 x 1002
20190907_191736 	 35 	  100.0 	 308 	 325 	 0 	 990 x 1002
20190907_191811 	 35 	  100.0 	 326 	 343 	 0 	 990 x 1002
20190907_191958 	 35 	  100.0 	 344 	 361 	 0 	 990 x 1002
20190907_192036 	 35 	  100.0 	 362 	 370 	 0 	 990 x 1002
20190907_192056 	 35 	  100.0 	 371 	 379 	 0 	 990 x 1002
20190907_192116 	 35 	  100.0 	 380 	 397 	 0 	 990 x 1002
20190907_192156 	 35 	  100.0 	 398 	 415 	 0 	 990 x 1002
20190907_192237 	 35 	  100.0 	 416 	 433 	 0 	 990 x 1002
20190907_192312 	 35 	  100.0 	 434 	 451 	 0 	 990 x 1002
20190907_192349 	 35 	  100.0 	 452 	 469 	 0 	 990 x 1002
20190907_192424 	 35 	  100.0 	 470 	 487 	 0 	 990 x 1002
20190907_192458 	 35 	  100.0 	 488 	 505 	 0 	 990 x 1002
20190907_192647 	 35 	  100.0 	 506 	 523 	 0 	 990 x 1002
20190907_192723 	 35 	  100.0 	 524 	 541 	 0 	 990 x 1002
20190907_192758 	 35 	  100.0 	 542 	 559 	 0 	 990 x 1002
20190907_192836 	 35 	  100.0 	 560 	 577 	 0 	 990 x 1002
20190907_192915 	 35 	  100.0 	 578 	 595 	 0 	 990 x 1002
20190907_192950 	 35 	  100.0 	 596 	 613 	 0 	 990 x 1002
20190907_193025 	 35 	  100.0 	 614 	 631 	 0 	 990 x 1002
20190907_193059 	 35 	  100.0 	 632 	 642 	 0 	 990 x 1002
  • IDL> mm->collect_opds
  • IDL> mm->mask_calibration, /SHOW
  • s3_ntt_*
    s3_ntt_mask_inter.jpg s3_ntt_mask_fit_union.jpg s3_ntt_mask_my_union.jpg s3_ntt_mask_valid.jpg s3_ntt_surf.jpg s3_ntt_surf_rms.jpg

  • IDL> mm->produce_ifmat
  • IDL> mm->check_noise
  • IDL> mm->inv_ifmat
  • s3_ntt_*
    s3_ntt_single_values.jpg s3_ntt_last_eigen.jpg

  • IDL> mm->interactive_tweak_mask
    • Outer=0.29, Inner=0.29
    • intersect_gmask_rebin_.29.29.sav
    • s3_ntt_inner_0.29.jpg:
      s3_ntt_inner_0.29.jpg s3_ntt_outer_0.29.jpg
  • IDL> mm->tweak_ifmat, '.29.29'
  • IDL> mm->inv_ifmat, mask_id=".29.29"
  • IDL> mm->showme_the_modes, nrows=16, ncol=20, zoom=0.22
  • IDL> list=indgen(327)+320
  • IDL> mm->showme_the_modes, mode_num_idx=list, nrows=16, ncol=20, zoom=0.22
    • s3_ntt_mir_modes_1.jpg:
      s3_ntt_mir_modes_1.jpg s3_ntt_mir_modes_2.jpg
  • IDL> save, mm, file='/local/aomeas/adsec_calib/if_functions/20190907_mirmodes/mm_.29.29.sav'
  • IDL> print, mm->data_dir()
    • /towerdata/adsec_calib/if_functions
  • IDL> print, mm->save_dir()
    • /towerdata/adsec_calib/if_functions/20190907_mirmodes
  • IDL> klf = obj_new('klfit', mm, '.29.29')
  • IDL> klf->create_theo_kls
  • IDL> klf->create_ortho_fitted_kls
  • IDL> klf->check_fitting
    • s3_ntt_fitting_error.jpg:
      s3_ntt_fitting_error.jpg s3_ntt_peak_force.jpg
  • IDL> klf->showme_the_modes, 'ORTHOFIT', nrows=16, ncol=20, zoom=0.22
  • IDL> list=indgen(327)+320
  • IDL> klf->showme_the_modes, 'ORTHOFIT', nrows=5, ncol=20, zoom=0.22, mode_num_idx=list
    • s3_ntt_kl_modes_1.jpg:
      s3_ntt_kl_modes_1.jpg s3_ntt_kl_modes_2.jpg

TT Removed

06:46
TN=['20190907_190508','20190907_190546','20190907_190621','20190907_190650','20190907_190727','20190907_190803','20190907_190837','20190907_190913','20190907_190951','20190907_191027','20190907_191102','20190907_191242','20190907_191318','20190907_191354','20190907_191438','20190907_191513','20190907_191548','20190907_191627','20190907_191702','20190907_191736','20190907_191811','20190907_191958','20190907_192036','20190907_192056','20190907_192116','20190907_192156','20190907_192237','20190907_192312','20190907_192349','20190907_192424','20190907_192458','20190907_192647','20190907_192723','20190907_192758','20190907_192836','20190907_192915','20190907_192950','20190907_193025','20190907_193059']
  • IDL> mm=obj_new('mirmodes', TN, binning=4, data_dir='/local/aomeas/adsec_calib/tt_functions')
  • IDL> mm->summary_opds
tracknum 		 nn 	 amp [nm] 	 first 	  last 	 missing    sampling
20190907_190508 	 125 	  500.0 	 0 	 4 	 0 	 990 x 1002
20190907_190546 	 125 	  350.0 	 5 	 9 	 0 	 990 x 1002
20190907_190621 	 51 	  250.0 	 10 	 19 	 0 	 990 x 1002
20190907_190650 	 35 	  150.0 	 20 	 37 	 0 	 990 x 1002
20190907_190727 	 35 	  150.0 	 38 	 55 	 0 	 990 x 1002
20190907_190803 	 35 	  150.0 	 56 	 73 	 0 	 990 x 1002
20190907_190837 	 35 	  150.0 	 74 	 91 	 0 	 990 x 1002
20190907_190913 	 35 	  100.0 	 92 	 109 	 0 	 990 x 1002
20190907_190951 	 35 	  100.0 	 110 	 127 	 0 	 990 x 1002
20190907_191027 	 35 	  100.0 	 128 	 145 	 0 	 990 x 1002
20190907_191102 	 35 	  100.0 	 146 	 163 	 0 	 990 x 1002
20190907_191242 	 35 	  100.0 	 164 	 181 	 0 	 990 x 1002
20190907_191318 	 35 	  100.0 	 182 	 199 	 0 	 990 x 1002
20190907_191354 	 35 	  100.0 	 200 	 217 	 0 	 990 x 1002
20190907_191438 	 35 	  100.0 	 218 	 235 	 0 	 990 x 1002
20190907_191513 	 35 	  100.0 	 236 	 253 	 0 	 990 x 1002
20190907_191548 	 35 	  100.0 	 254 	 271 	 0 	 990 x 1002
20190907_191627 	 35 	  100.0 	 272 	 289 	 0 	 990 x 1002
20190907_191702 	 35 	  100.0 	 290 	 307 	 0 	 990 x 1002
20190907_191736 	 35 	  100.0 	 308 	 325 	 0 	 990 x 1002
20190907_191811 	 35 	  100.0 	 326 	 343 	 0 	 990 x 1002
20190907_191958 	 35 	  100.0 	 344 	 361 	 0 	 990 x 1002
20190907_192036 	 35 	  100.0 	 362 	 370 	 0 	 990 x 1002
20190907_192056 	 35 	  100.0 	 371 	 379 	 0 	 990 x 1002
20190907_192116 	 35 	  100.0 	 380 	 397 	 0 	 990 x 1002
20190907_192156 	 35 	  100.0 	 398 	 415 	 0 	 990 x 1002
20190907_192237 	 35 	  100.0 	 416 	 433 	 0 	 990 x 1002
20190907_192312 	 35 	  100.0 	 434 	 451 	 0 	 990 x 1002
20190907_192349 	 35 	  100.0 	 452 	 469 	 0 	 990 x 1002
20190907_192424 	 35 	  100.0 	 470 	 487 	 0 	 990 x 1002
20190907_192458 	 35 	  100.0 	 488 	 505 	 0 	 990 x 1002
20190907_192647 	 35 	  100.0 	 506 	 523 	 0 	 990 x 1002
20190907_192723 	 35 	  100.0 	 524 	 541 	 0 	 990 x 1002
20190907_192758 	 35 	  100.0 	 542 	 559 	 0 	 990 x 1002
20190907_192836 	 35 	  100.0 	 560 	 577 	 0 	 990 x 1002
20190907_192915 	 35 	  100.0 	 578 	 595 	 0 	 990 x 1002
20190907_192950 	 35 	  100.0 	 596 	 613 	 0 	 990 x 1002
20190907_193025 	 35 	  100.0 	 614 	 631 	 0 	 990 x 1002
20190907_193059 	 35 	  100.0 	 632 	 642 	 0 	 990 x 1002
  • IDL> mm->collect_opds
  • IDL> mm->produce_ifmat
  • IDL> mm->check_noise
    • s3_tt_surf_rms.jpg:
      s3_tt_surf_rms.jpg
  • IDL> mm->inv_ifmat
  • IDL> mm->interactive_tweak_mask
    • .29.29
  • IDL> mm->tweak_ifmat, '.29.29'
  • IDL> mm->inv_ifmat, mask_id=".29.29"
  • IDL> save, mm, file='/local/aomeas/adsec_calib/tt_functions/20190907_mirmodes/mm_.29.29.sav'
  • IDL> klf = obj_new('klfit', mm, '.29.29')
  • IDL> klf->create_theo_kls
  • IDL> klf->create_ortho_fitted_kls, klmax=642
  • IDL> klf->check_fitting
    • s3_tt_fitting_error.jpg:
      s3_tt_fitting_error.jpg s3_tt_peak_force.jpg
  • IDL> print, klf->kl_theo_dir()
    • /local/aomeas/adsec_calib/tt_functions/20190907_mirmodes/KLdata_theo_.29.29/
  • [AOeng@dxadsec M2C]$ make_m2c.py KL_v27
    • Configuration directory: /home/aoeng/aoroot/conf/adsec/current/processConf
    • Copying data...
    • Created directory: /local/aomeas/adsec_calib/M2C/KL_v27
    • M2C file should be copied manually with this command:
  • IDL> print, klf->kl_fit_dir()
    • /local/aomeas/adsec_calib/tt_functions/20190907_mirmodes/KLdata_fit_.29.29_/
  • [AOeng@dxadsec KLdata_fit_.29.29_]$ pwd
    • /local/aomeas/adsec_calib/tt_functions/20190907_mirmodes/KLdata_fit_.29.29_
  • [AOeng@dxadsec KLdata_fit_.29.29_]$ cp m2c.fits /local/aomeas/adsec_calib/M2C/KL_v27
  • IDL> mm->save_MMmatrix, 'FLAO1', mask_id='.29.29'
    • Saving MMmatrix file: /local/aomeas/adsec_calib/tt_functions/20190907_mirmodes/MMmatrix_FLAO1_20190907.sav
  • IDL> klf->save_KLmatrix, "KL_v27"
    • Saving KLmatrix file: /local/aomeas/adsec_calib/tt_functions/20190907_mirmodes/KLdata_fit_.29.29_/KLmatrix_KL_v27.sav
  • IDL> restore, '/local/aomeas/adsec_calib/tt_functions/20190907_mirmodes/MMmatrix_FLAO1_20190907.sav', /v
    • % RESTORE: Portable (XDR) SAVE/RESTORE file.
    • % RESTORE: Save file written by AOeng@dxadsec.mountain.lbto.org, Mon Sep 9 20:04:21 2019.
    • % RESTORE: IDL version 7.1 (linux, x86_64).
    • % RESTORE: Restored variable: MMMATRIX.
    • % RESTORE: Restored variable: DPIX.
    • % RESTORE: Restored variable: IDX_MASK.
    • % RESTORE: Restored variable: XX.
    • % RESTORE: Restored variable: YY.
    • % RESTORE: Restored variable: MM2C.
    • % RESTORE: Restored variable: ADSEC_SAVE.
    • % RESTORE: Restored variable: MM_INFO.
  • IDL> print, dpix
    • 219
  • [AOeng@dxadsec 20190907_mirmodes]$ pwd
    • /local/aomeas/adsec_calib/tt_functions/20190907_mirmodes
  • [AOeng@dxadsec 20190907_mirmodes]$ cp /local/aomeas/adsec_calib/tt_functions/20190907_190508/adsec_save.sav .
  • Modify line 40 routine /home/aoeng/aoroot/idl/adsec_lib/test/im2mmmatrix_new.pro
    • ; dpix = 2*(ceil(2*cir[2]))/2
    • ; dpix calculation was set for bin 2. Now use input rebfactor value
    • ; 20190908 DLM
    • dpix = rebfactor*((ceil(2*cir[2]))/rebfactor)
  • IDL> im2mmmatrix_new, '../tt_functions/20190907_mirmodes', rebfactor=4
% RESTORE: Portable (XDR) SAVE/RESTORE file.
% RESTORE: Save file written by AOeng@dxadsec.mountain.lbto.org, Mon Sep  9 16:40:15 2019.
% RESTORE: IDL version 7.1 (linux, x86_64).
% RESTORE: Restored variable: ADSEC_SAVE.
restoring file/local/aomeas/adsec_calib/tt_functions/20190907_mirmodes/mode_000.sav
...
restoring file/local/aomeas/adsec_calib/tt_functions/20190907_mirmodes/mode_642.sav
...
XX              FLOAT     = Array[36811]
YY              FLOAT     = Array[36811]
MM2C            DOUBLE    = Array[643, 672]
IDX_MASK        LONG      = Array[36811]
$ADOPT_MEAS/adsec_calib/optical-projection/../tt_functions/20190907_mirmodes/MMmatrix.sav
$ADOPT_MEAS/adsec_calib/optical-projection/../tt_functions/20190907_mirmodes
  • [AOeng@dxadsec 20190907]$ cd /local/aomeas/adsec_calib/tt_functions/20190907_mirmodes
  • [AOeng@dxadsec 20190907_mirmodes]$ ls -ltr
    • ...
    • ...
    • -rw-r--r--. 1 AOeng aoeng 111320928 Sep 9 20:04 MMmatrix_FLAO1_20190907.sav
    • -rw-r--r--. 1 AOeng aoeng 12990596 Sep 9 20:11 adsec_save.sav
    • -rw-r--r--. 1 AOeng aoeng 98578996 Sep 9 20:37 MMmatrix.sav
    • -rw-r--r--. 1 AOeng aoeng 123840 Sep 9 20:49 pos2modes.fits
    • -rw-r--r--. 1 AOeng aoeng 123840 Sep 9 20:49 pmz.fits
  • [AOeng@dxadsec 20190907]$ cd /local/aomeas/adsec_calib/optical-projection/20190907
  • [AOeng@dxadsec 20190907_mirmodes]$ cp /local/aomeas/adsec_calib/tt_functions/20190907_mirmodes/MMmatrix.sav .
  • [AOeng@dxadsec 20190907]$ cp /local/aomeas/adsec_calib/tt_functions/20190907_mirmodes/pos2modes.fits .
  • [AOeng@dxadsec 20190907]$ cp /local/aomeas/adsec_calib/tt_functions/20190907_mirmodes/pmz.fits /

  • [AOeng@dxadsec 20190907]$ pwd
    • /local/aomeas/adsec_calib/optical-projection/20190907
  • [AOeng@dxadsec 20190907]$ ls -1
    • MMmatrix.sav
    • pmz.fits
    • pos2modes.fits
  • [AOeng@dxadsec phase_maps]$ cd /local/phase_maps
  • [AOeng@dxadsec phase_maps]$ pwd
    • /local/phase_maps
  • [AOeng@dxadsec phase_maps]$ mkdir /local/aomeas/adsec_calib/if_functions/20180912_mirmodes/phasemaps
  • [AOeng@dxadsec phase_maps]$ ls
    • KLmatrix_KL_v26.sav
    • MMmatrix_FLAO1_20180912.sav
  • [AOeng@dxadsec phase_maps]$ sudo mv KLmatrix_KL_v26.sav /local/aomeas/adsec_calib/if_functions/20180912_mirmodes/phasemaps/.
  • [AOeng@dxadsec phase_maps]$ sudo mv MMmatrix_FLAO1_20180912.sav /local/aomeas/adsec_calib/if_functions/20180912_mirmodes/phasemaps/.
  • [AOeng@dxadsec phase_maps]$ sudo cp /local/aomeas/adsec_calib/tt_functions/20190907_mirmodes/KLdata_fit_.29.29_/KLmatrix_KL_v27.sav .
  • [AOeng@dxadsec phase_maps]$ sudo cp /local/aomeas/adsec_calib/tt_functions/20190907_mirmodes/MMmatrix_FLAO1_20190907.sav .

TT Removed, 600 modes

  • IDL> klf->create_ortho_fitted_kls, KLMAX=600
  • did not save
  • 2 images

Set 2

TT Removed, 600 modes

IDL> TN=['20190907_183028','20190907_183109','20190907_183144','20190907_183214','20190907_183251','20190907_183326','20190907_183402','20190907_183441','20190907_183520','20190907_183555','20190907_183630','20190907_183831','20190907_183909','20190907_183944','20190907_184020','20190907_184056','20190907_184132','20190907_184207','20190907_184244','20190907_184319','20190907_184355','20190907_184548','20190907_184626','20190907_184646','20190907_184706','20190907_184743','20190907_184820','20190907_184859','20190907_184934','20190907_185009','20190907_185050','20190907_185313','20190907_185348','20190907_185423','20190907_185457','20190907_185533','20190907_185608','20190907_185644','20190907_185721']
  • IDL> mm=obj_new('mirmodes', TN, binning=4, data_dir='/local/aomeas/adsec_calib/tt_functions')
  • IDL> mm->summary_opds
tracknum 		 nn 	 amp [nm] 	 first 	  last 	 missing    sampling
20190907_183028 	 125 	  500.0 	 0 	 4 	 0 	 990 x 1002
20190907_183109 	 125 	  350.0 	 5 	 9 	 0 	 990 x 1002
20190907_183144 	 51 	  250.0 	 10 	 19 	 0 	 990 x 1002
20190907_183214 	 35 	  150.0 	 20 	 37 	 0 	 990 x 1002
20190907_183251 	 35 	  150.0 	 38 	 55 	 0 	 990 x 1002
20190907_183326 	 35 	  150.0 	 56 	 73 	 0 	 990 x 1002
20190907_183402 	 35 	  150.0 	 74 	 91 	 0 	 990 x 1002
20190907_183441 	 35 	  100.0 	 92 	 109 	 0 	 990 x 1002
20190907_183520 	 35 	  100.0 	 110 	 127 	 0 	 990 x 1002
20190907_183555 	 35 	   80.0 	 128 	 145 	 0 	 990 x 1002
20190907_183630 	 35 	   80.0 	 146 	 163 	 0 	 990 x 1002
20190907_183831 	 35 	   80.0 	 164 	 181 	 0 	 990 x 1002
20190907_183909 	 35 	   80.0 	 182 	 199 	 0 	 990 x 1002
20190907_183944 	 35 	   70.0 	 200 	 217 	 0 	 990 x 1002
20190907_184020 	 35 	   50.0 	 218 	 235 	 0 	 990 x 1002
20190907_184056 	 35 	   50.0 	 236 	 253 	 0 	 990 x 1002
20190907_184132 	 35 	   50.0 	 254 	 271 	 0 	 990 x 1002
20190907_184207 	 35 	   50.0 	 272 	 289 	 0 	 990 x 1002
20190907_184244 	 35 	   40.0 	 290 	 307 	 0 	 990 x 1002
20190907_184319 	 35 	   40.0 	 308 	 325 	 0 	 990 x 1002
20190907_184355 	 35 	   40.0 	 326 	 343 	 0 	 990 x 1002
20190907_184548 	 35 	   40.0 	 344 	 361 	 0 	 990 x 1002
20190907_184626 	 35 	   40.0 	 362 	 370 	 0 	 990 x 1002
20190907_184646 	 35 	   40.0 	 371 	 379 	 0 	 990 x 1002
20190907_184706 	 35 	   40.0 	 380 	 397 	 0 	 990 x 1002
20190907_184743 	 35 	   40.0 	 398 	 415 	 0 	 990 x 1002
20190907_184820 	 35 	   40.0 	 416 	 433 	 0 	 990 x 1002
20190907_184859 	 35 	   40.0 	 434 	 451 	 0 	 990 x 1002
20190907_184934 	 35 	   40.0 	 452 	 469 	 0 	 990 x 1002
20190907_185009 	 35 	   40.0 	 470 	 487 	 0 	 990 x 1002
20190907_185050 	 35 	   40.0 	 488 	 505 	 0 	 990 x 1002
20190907_185313 	 35 	   40.0 	 506 	 523 	 0 	 990 x 1002
20190907_185348 	 35 	   40.0 	 524 	 541 	 0 	 990 x 1002
20190907_185423 	 35 	   40.0 	 542 	 559 	 0 	 990 x 1002
20190907_185457 	 35 	   40.0 	 560 	 577 	 0 	 990 x 1002
20190907_185533 	 35 	   40.0 	 578 	 595 	 0 	 990 x 1002
20190907_185608 	 35 	   40.0 	 596 	 613 	 0 	 990 x 1002
20190907_185644 	 35 	   40.0 	 614 	 631 	 0 	 990 x 1002
20190907_185721 	 35 	   40.0 	 632 	 642 	 0 	 990 x 1002
  • Problems. May need to copy configuration.ini files to tt_function dir. Will use Set 3 instead

20190923 Create matrices needed for NCPA

17:53
  • copy phase_matrix.sav into KL basis set directory and create its inverse.
    % cd /local/aomeas/adsec_calib/M2C/KL_v27
    % cp /local/phase_maps/KLmatrix_KL_v27.sav phase_matrix.sav
    % idl
       IDL> @startup
       IDL> restore, '/local/aomeas/adsec_calib/M2C/KL_v27/phase_matrix.sav', /v
       IDL> klmatrix_inv = pseudo_invert( klmatrix, /DOUBLE)
       IDL> save, klmatrix_inv, dpix, idx_mask,  file='/local/aomeas/adsec_calib/M2C/KL_v27/klmatrix_phase_inv.sav'
    

  • If files z2m_nz100_orthoLuci.sav, z2phi_nz100_orthoLuci.sav or m2z_nz100_orthoLuci.sav exist in the KL_v27 directory then delete them
    • When the NCPA button on the WFS Control GUI is pressed to On, the phase_matrix.sav and klmatrix_phase_inv.sav matrices are read and the three files listed above are created and saved in the KL_v27 directory.
    • The IDL routines that do this are
      • /home/aoeng/aoroot/idl/adsec_lib/adsec_utilities/m2z4adsec.pro
      • /home/aoeng/aoroot/idl/adsec_lib/adsec_utilities/z2m4adsec.pro
IDL> restore, '/local/aomeas/adsec_calib/M2C/KL_v27/z2m_nz100_orthoLuci.sav', /v   
% RESTORE: Portable (XDR) SAVE/RESTORE file.
% RESTORE: Save file written by AOeng@dxadsec.mountain.lbto.org, Tue Mar  5 18:28:12 2019.
% RESTORE: IDL version 7.1 (linux, x86_64).
% RESTORE: Restored variable: Z2M.
IDL> help, z2m
Z2M             DOUBLE    = Array[100, 405]

IDL> restore, '/local/aomeas/adsec_calib/M2C/KL_v27/z2phi_nz100_orthoLuci.sav', /v
% RESTORE: Portable (XDR) SAVE/RESTORE file.
% RESTORE: Save file written by AOeng@dxadsec.mountain.lbto.org, Tue Mar  5 18:28:10 2019.
% RESTORE: IDL version 7.1 (linux, x86_64).
% RESTORE: Restored variable: Z2PHI.
% RESTORE: Restored variable: PHI2Z.
IDL> help, z2phi
Z2PHI           FLOAT     = Array[100, 35806]
IDL> help, phi2z
PHI2Z           FLOAT     = Array[35806, 100]

IDL> restore, '/local/aomeas/adsec_calib/M2C/KL_v27/m2z_nz100_orthoLuci.sav', /v
% RESTORE: Portable (XDR) SAVE/RESTORE file.
% RESTORE: Save file written by AOeng@dxadsec.mountain.lbto.org, Tue May  7 23:24:36 2019.
% RESTORE: IDL version 7.1 (linux, x86_64).
% RESTORE: Restored variable: M2Z.
IDL> help, m2z
M2Z             DOUBLE    = Array[405, 100]

19:10 NCPA is now working an Greg is starting to measure coefficients as a function of Instrument Rotator

-- DougMiller - 09 Sep 2019
I Attachment Action Size Date Who Comment
psf-vs-rotation.movmov psf-vs-rotation.mov manage 11 MB 25 Sep 2019 - 16:31 DougMiller  
s3_ntt_fitting_error.jpgjpg s3_ntt_fitting_error.jpg manage 67 K 09 Sep 2019 - 06:25 DougMiller  
s3_ntt_inner_0.29.jpgjpg s3_ntt_inner_0.29.jpg manage 68 K 09 Sep 2019 - 02:08 DougMiller  
s3_ntt_kl_modes_1.jpgjpg s3_ntt_kl_modes_1.jpg manage 324 K 09 Sep 2019 - 06:39 DougMiller  
s3_ntt_kl_modes_2.jpgjpg s3_ntt_kl_modes_2.jpg manage 100 K 09 Sep 2019 - 06:39 DougMiller  
s3_ntt_last_eigen.jpgjpg s3_ntt_last_eigen.jpg manage 33 K 09 Sep 2019 - 05:53 DougMiller  
s3_ntt_mask_fit_union.jpgjpg s3_ntt_mask_fit_union.jpg manage 46 K 09 Sep 2019 - 01:48 DougMiller  
s3_ntt_mask_inter.jpgjpg s3_ntt_mask_inter.jpg manage 43 K 09 Sep 2019 - 01:47 DougMiller  
s3_ntt_mask_my_union.jpgjpg s3_ntt_mask_my_union.jpg manage 46 K 09 Sep 2019 - 01:48 DougMiller  
s3_ntt_mask_valid.jpgjpg s3_ntt_mask_valid.jpg manage 95 K 09 Sep 2019 - 01:48 DougMiller  
s3_ntt_mir_modes_1.jpgjpg s3_ntt_mir_modes_1.jpg manage 334 K 09 Sep 2019 - 06:03 DougMiller  
s3_ntt_mir_modes_2.jpgjpg s3_ntt_mir_modes_2.jpg manage 329 K 09 Sep 2019 - 06:03 DougMiller  
s3_ntt_outer_0.29.jpgjpg s3_ntt_outer_0.29.jpg manage 70 K 09 Sep 2019 - 02:09 DougMiller  
s3_ntt_peak_force.jpgjpg s3_ntt_peak_force.jpg manage 63 K 09 Sep 2019 - 06:26 DougMiller  
s3_ntt_single_values.jpgjpg s3_ntt_single_values.jpg manage 26 K 09 Sep 2019 - 05:53 DougMiller  
s3_ntt_surf.jpgjpg s3_ntt_surf.jpg manage 63 K 09 Sep 2019 - 01:48 DougMiller  
s3_ntt_surf_rms.jpgjpg s3_ntt_surf_rms.jpg manage 69 K 09 Sep 2019 - 01:49 DougMiller  
s3_tt_fitting_error.jpgjpg s3_tt_fitting_error.jpg manage 67 K 09 Sep 2019 - 07:22 DougMiller  
s3_tt_peak_force.jpgjpg s3_tt_peak_force.jpg manage 66 K 09 Sep 2019 - 07:22 DougMiller  
s3_tt_surf_rms.jpgjpg s3_tt_surf_rms.jpg manage 51 K 09 Sep 2019 - 06:57 DougMiller  
Topic revision: r8 - 25 Sep 2019, 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