20220427_DX_Day DX AdSec Calculate Influence Functions, Day 10

Set 1 from 20220424

11:50 Commands (following 20190908_DX_Day TWiki)
  • Tracking numbers
IDL> TN = ['20220424_220240','20220424_220319','20220424_220341','20220424_220411','20220424_220434','20220424_220456','20220424_220519','20220424_220546','20220424_220612','20220424_220639','20220424_220706','20220424_220733','20220424_220759','20220424_220826','20220424_220852','20220424_220919','20220424_220946','20220424_221012','20220424_221039','20220424_221106','20220424_221132','20220424_221241','20220424_221308','20220424_221334','20220424_221401','20220424_221448','20220424_221515','20220424_221542','20220424_221608','20220424_221635','20220424_221702','20220424_221728','20220424_221755','20220424_221822','20220424_221849','20220424_221915','20220424_221942','20220424_222009','20220424_222035','20220424_222102','20220424_222129','20220424_222244','20220424_222311','20220424_222338','20220424_222404','20220424_222431','20220424_222457','20220424_222524','20220424_222551','20220424_222618','20220424_222645','20220424_222711','20220424_222738','20220424_222805','20220424_222831','20220424_222858','20220424_222925','20220424_222951','20220424_223018','20220424_223045','20220424_223111','20220424_223208','20220424_223235','20220424_223301','20220424_223328','20220424_223354','20220424_223421','20220424_223448','20220424_223514','20220424_223541','20220424_223608','20220424_223635','20220424_223701']
  • IDL> mm=obj_new('mirmodes', TN, binning=4)
  • IDL> mm->summary_opds
tracknum 		 nn 	 amp [nm] 	 first 	  last 	 missing    sampling
20220424_220240 	 125 	  500.0 	 0 	 2 	 0 	 892 x 892
20220424_220319 	 125 	  500.0 	 3 	 4 	 0 	 892 x 892
20220424_220341 	 125 	  350.0 	 5 	 7 	 0 	 892 x 892
20220424_220411 	 125 	  350.0 	 8 	 9 	 0 	 892 x 892
20220424_220434 	 51 	  250.0 	 10 	 14 	 0 	 892 x 892
20220424_220456 	 51 	  250.0 	 15 	 19 	 0 	 892 x 892
20220424_220519 	 35 	  150.0 	 20 	 28 	 0 	 892 x 892
20220424_220546 	 35 	  150.0 	 29 	 37 	 0 	 892 x 892
20220424_220612 	 35 	  150.0 	 38 	 46 	 0 	 892 x 892
20220424_220639 	 35 	  150.0 	 47 	 55 	 0 	 892 x 892
20220424_220706 	 35 	  150.0 	 56 	 64 	 0 	 892 x 892
20220424_220733 	 35 	  150.0 	 65 	 73 	 0 	 892 x 892
20220424_220759 	 35 	  150.0 	 74 	 82 	 0 	 892 x 892
20220424_220826 	 35 	  150.0 	 83 	 91 	 0 	 892 x 892
20220424_220852 	 35 	  100.0 	 92 	 100 	 0 	 892 x 892
20220424_220919 	 35 	  100.0 	 101 	 109 	 0 	 892 x 892
20220424_220946 	 35 	  100.0 	 110 	 118 	 0 	 892 x 892
20220424_221012 	 35 	  100.0 	 119 	 127 	 0 	 892 x 892
20220424_221039 	 35 	   80.0 	 128 	 136 	 0 	 892 x 892
20220424_221106 	 35 	   80.0 	 137 	 145 	 0 	 892 x 892
20220424_221132 	 35 	   80.0 	 146 	 154 	 0 	 892 x 892
20220424_221241 	 35 	   80.0 	 155 	 163 	 0 	 892 x 892
20220424_221308 	 35 	   80.0 	 164 	 172 	 0 	 892 x 892
20220424_221334 	 35 	   80.0 	 173 	 181 	 0 	 892 x 892
20220424_221401 	 35 	   80.0 	 182 	 199 	 0 	 892 x 892
20220424_221448 	 35 	   70.0 	 200 	 208 	 0 	 892 x 892
20220424_221515 	 35 	   70.0 	 209 	 217 	 0 	 892 x 892
20220424_221542 	 35 	   50.0 	 218 	 226 	 0 	 892 x 892
20220424_221608 	 35 	   50.0 	 227 	 235 	 0 	 892 x 892
20220424_221635 	 35 	   50.0 	 236 	 244 	 0 	 892 x 892
20220424_221702 	 35 	   50.0 	 245 	 253 	 0 	 892 x 892
20220424_221728 	 35 	   50.0 	 254 	 262 	 0 	 892 x 892
20220424_221755 	 35 	   50.0 	 263 	 271 	 0 	 892 x 892
20220424_221822 	 35 	   50.0 	 272 	 280 	 0 	 892 x 892
20220424_221849 	 35 	   50.0 	 281 	 289 	 0 	 892 x 892
20220424_221915 	 35 	   40.0 	 290 	 298 	 0 	 892 x 892
20220424_221942 	 35 	   40.0 	 299 	 307 	 0 	 892 x 892
20220424_222009 	 35 	   40.0 	 308 	 316 	 0 	 892 x 892
20220424_222035 	 35 	   40.0 	 317 	 325 	 0 	 892 x 892
20220424_222102 	 35 	   40.0 	 326 	 334 	 0 	 892 x 892
20220424_222129 	 35 	   40.0 	 335 	 343 	 0 	 892 x 892
20220424_222244 	 35 	   40.0 	 344 	 352 	 0 	 892 x 892
20220424_222311 	 35 	   40.0 	 353 	 361 	 0 	 892 x 892
20220424_222338 	 35 	   40.0 	 362 	 370 	 0 	 892 x 892
20220424_222404 	 35 	   40.0 	 371 	 379 	 0 	 892 x 892
20220424_222431 	 35 	   40.0 	 380 	 388 	 0 	 892 x 892
20220424_222457 	 35 	   40.0 	 389 	 397 	 0 	 892 x 892
20220424_222524 	 35 	   40.0 	 398 	 406 	 0 	 892 x 892
20220424_222551 	 35 	   40.0 	 407 	 415 	 0 	 892 x 892
20220424_222618 	 35 	   40.0 	 416 	 424 	 0 	 892 x 892
20220424_222645 	 35 	   40.0 	 425 	 433 	 0 	 892 x 892
20220424_222711 	 35 	   40.0 	 434 	 442 	 0 	 892 x 892
20220424_222738 	 35 	   40.0 	 443 	 451 	 0 	 892 x 892
20220424_222805 	 35 	   40.0 	 452 	 460 	 0 	 892 x 892
20220424_222831 	 35 	   40.0 	 461 	 469 	 0 	 892 x 892
20220424_222858 	 35 	   40.0 	 470 	 478 	 0 	 892 x 892
20220424_222925 	 35 	   40.0 	 479 	 487 	 0 	 892 x 892
20220424_222951 	 35 	   40.0 	 488 	 496 	 0 	 892 x 892
20220424_223018 	 35 	   40.0 	 497 	 505 	 0 	 892 x 892
20220424_223045 	 35 	   40.0 	 506 	 514 	 0 	 892 x 892
20220424_223111 	 35 	   40.0 	 515 	 523 	 0 	 892 x 892
20220424_223208 	 35 	   40.0 	 524 	 532 	 0 	 892 x 892
20220424_223235 	 35 	   40.0 	 533 	 541 	 0 	 892 x 892
20220424_223301 	 35 	   40.0 	 542 	 550 	 0 	 892 x 892
20220424_223328 	 35 	   40.0 	 551 	 559 	 0 	 892 x 892
20220424_223354 	 35 	   40.0 	 560 	 568 	 0 	 892 x 892
20220424_223421 	 35 	   40.0 	 569 	 577 	 0 	 892 x 892
20220424_223448 	 35 	   40.0 	 578 	 586 	 0 	 892 x 892
20220424_223514 	 35 	   40.0 	 587 	 595 	 0 	 892 x 892
20220424_223541 	 35 	   40.0 	 596 	 604 	 0 	 892 x 892
20220424_223608 	 35 	   40.0 	 605 	 613 	 0 	 892 x 892
20220424_223635 	 35 	   40.0 	 614 	 622 	 0 	 892 x 892
20220424_223701 	 35 	   40.0 	 623 	 631 	 0 	 892 x 892
  • IDL> mm->collect_opds
    • Collecting OPDs....(go grab a coffee)
    • Collecting OPDs completed!
  • IDL> mm->mask_calibration, /SHOW
    • 4 mask .jpegs
    • Mask Plots:
      fit_union.jpg intercept.jpg my_union.jpg valid.jpg
  • IDL> mm->produce_ifmat
    • ...
    • processing OPD number: 630
    • stddev: 0.0502767
    • number of missing points: 0
    • Warning: the domain should be limited to a circle of unit radius 606
    • processing OPD number: 631
    • stddev: 0.0516604
    • number of missing points: 0
    • Warning: the domain should be limited to a circle of unit radius 606
    • IFmatrix computed...
  • IDL> mm->check_noise
    • surface.jpg:
      surface.jpg noise.jpg
  • IDL> mm->inv_ifmat
    • single_values.jpg:
      single_values.jpg last_eigen.jpg
  • IDL> mm->interactive_tweak_mask
    • tag '.29_1.2'
    • inner and outer images
    • inner seems to have a much higher fit residual than previous IF functions: 1.2 vs 0.29
    • inner_outer_0.29.jpg:
      outer_0.29.jpg inner_1.2.jpg
  • IDL> mm->tweak_ifmat, '.29_1.2'
  • IDL> mm->inv_ifmat, mask_id=".29_1.2"
    • Inverting IFmatrix...
    • single values and last_eigen plots *.29_1.2.jpg
    • single_values.29_1.2.jpg:
      single_values.29_1.2.jpg last_eigen.29_1.2.jpg last_eigen_s3.jpg
  • IDL> mm->showme_the_modes, nrows=16, ncol=20, zoom=0.22
    • shape.29_1.2_1.jpg:
      shape.29_1.2_1.jpg
  • IDL> mm->showme_the_modes, nrows=16, ncol=20, zoom=0.4
    • shape.29_1.2_2.jpg:
      shape.29_1.2_2.jpg
  • IDL> list=indgen(327)+320
  • IDL> print, mm->data_dir()
    • /towerdata/adsec_calib/if_functions
  • IDL> print, mm->save_dir()
    • /towerdata/adsec_calib/if_functions/20220424_mirmodes
  • save, mm, file='/local/aomeas/adsec_calib/if_functions/
  • IDL> klf = obj_new('klfit', mm, '.29_1.2')
  • IDL> klf->create_theo_kls
    • Computing Zernikes from which theoretical KLs will be derived...
    • Computing theoretical KLs...
    • Re-orthonormalizing theoretical KLs...
    • Saving pure KLs...Computing TT-filtered KLs...
    • Warning: the domain should be limited to a circle of unit radius 56
    • ...
    • Warning: the domain should be limited to a circle of unit radius 56
    • Finished!
    • Time required: 2.5126028 minutes
  • IDL> klf->create_ortho_fitted_kls
    • Restoring Mirror Modes Influence Function data...
    • Restoring theoretical KL modes data...
    • Computing M2C...
    • Computing fitted KLs...
    • Computing fitting error...
    • Saving M2V data...
    • Re-orthonormalizing fitted KLs...
    • Number of final KLs: 405
    • Computing ortho-fitted KLs...
    • Computing ortho M2C...
    • Saving ortho M2V data...
    • % Object reference type required in this context: MM_OBJ.
    • % Execution halted at: KLFIT::CREATE_ORTHO_FITTED_KLS 249 /home/aoeng/soul/mixed_mode_control/aoroot/idl/adsec_lib/calibration/optical/klfit__define.pro
    • % $MAIN$
  • IDL> klf->check_fitting
    • kl_fit_error.jpg:
      kl_fit_error.jpg
  • IDL> klf->showme_the_modes, 'ORTHOFIT', nrows=16, ncol=20, zoom=0.4
    • kl_shape.29_1.2_1.jpg:
      kl_shape.29_1.2_1.jpg
    • kl_shape.29_1.2_2.jpg:
      kl_shape.29_1.2_2.jpg

-- DougMiller - 27 Apr 2022

I Attachment Action Size Date Who Comment
fit_union.jpgjpg fit_union.jpg manage 33 K 28 Apr 2022 - 19:05 DougMiller  
inner_1.2.jpgjpg inner_1.2.jpg manage 77 K 28 Apr 2022 - 19:06 DougMiller  
intercept.jpgjpg intercept.jpg manage 31 K 28 Apr 2022 - 19:06 DougMiller  
kl_fit_error.jpgjpg kl_fit_error.jpg manage 78 K 28 Apr 2022 - 19:06 DougMiller  
kl_shape.29_1.2_1.jpgjpg kl_shape.29_1.2_1.jpg manage 689 K 28 Apr 2022 - 19:07 DougMiller  
kl_shape.29_1.2_2.jpgjpg kl_shape.29_1.2_2.jpg manage 208 K 28 Apr 2022 - 19:07 DougMiller  
last_eigen.29_1.2.jpgjpg last_eigen.29_1.2.jpg manage 50 K 28 Apr 2022 - 19:07 DougMiller  
last_eigen.jpgjpg last_eigen.jpg manage 50 K 28 Apr 2022 - 19:07 DougMiller  
last_eigen_s3.jpgjpg last_eigen_s3.jpg manage 53 K 29 Apr 2022 - 16:38 DougMiller  
my_union.jpgjpg my_union.jpg manage 43 K 28 Apr 2022 - 19:08 DougMiller  
noise.jpgjpg noise.jpg manage 79 K 28 Apr 2022 - 19:08 DougMiller  
outer_0.29.jpgjpg outer_0.29.jpg manage 77 K 28 Apr 2022 - 19:08 DougMiller  
shape.29_1.2_1.jpgjpg shape.29_1.2_1.jpg manage 666 K 28 Apr 2022 - 19:09 DougMiller  
shape.29_1.2_2.jpgjpg shape.29_1.2_2.jpg manage 655 K 28 Apr 2022 - 19:09 DougMiller  
single_values.29_1.2.jpgjpg single_values.29_1.2.jpg manage 33 K 28 Apr 2022 - 19:09 DougMiller  
single_values.jpgjpg single_values.jpg manage 36 K 28 Apr 2022 - 19:10 DougMiller  
surface.jpgjpg surface.jpg manage 69 K 28 Apr 2022 - 19:10 DougMiller  
valid.jpgjpg valid.jpg manage 51 K 28 Apr 2022 - 19:11 DougMiller  
Topic revision: r4 - 29 Apr 2022, 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