Open planetarymike opened 2 years ago
Hi Mike, thanks for using KrakenOS, these kinds of iterations will make it better and better. Regarding what you ask me, I cannot make diffraction occur simultaneously in two orders at the same time because I am processing rays individually. I have completed an example where it includes a change of order when redefining the system in each iteration, please install the latest version of KrakenOS (V1.0.0.15) and run this attached file, there you can see what I mention.
KrakenOS is slow but I am thinking of a future implementation in Cython, the example I send you is an echelle spectrograph, here only one central ray is being traced for many orders and wavelengths from a file, be patient, it takes some time to execute . you can comment lines 311 and 329 if you don't need to see the system.
Best regards Joel Herrera V.
El 20 jun 2022, a las 5:46, Mike Chaffin @.***> escribió:
Thanks for your work on this, this codebase looks like a great alternative to Zemax.
I would like to use this software to raytrace an all-reflective spatial heterodyne spectrometer, which depends on interference of light diffracted in multiple orders from the same diffraction grating. I tried to implement this but it looks like there's no support at present for multiple diffraction orders from the same grating--- is that right?
I'm willing to do the work to add this support myself if it's reasonably easy, but I will need some pointers about what work needs to be done and where.
— Reply to this email directly, view it on GitHub https://github.com/Garchupiter/Kraken-Optical-Simulator/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AED73RWPBTDWGZ6WNA4KYLDVQBRY7ANCNFSM5ZIZ4IQA. You are receiving this because you are subscribed to this thread.
1 2768.842
2 2795.531
3 2832.315
4 2837.295
5 2842.812
6 2851.259
7 2852.125
8 2870.406
9 2884.290
10 2885.049
11 2887.818
12 2898.934
13 2899.720
14 2921.620
15 2925.051
16 2928.254
17 2942.860
18 2957.583
19 2957.916
20 2968.687
21 2974.012
22 2978.660
23 2983.817
24 2993.799
25 2999.094
26 3006.932
27 3008.497
28 3034.066
29 3046.951
30 3049.092
31 3060.439
32 3061.700
33 3067.729
34 3072.115
35 3078.828
36 3080.217
37 3082.981
38 3085.026
39 3088.203
40 3088.470
41 3090.094
42 3093.396
43 3104.352
44 3105.747
45 3107.026
46 3108.297
47 3110.021
48 3117.684
49 3119.526
50 3122.963
51 3124.387
52 3125.507
53 3131.070
54 3136.216
55 3136.829
56 3139.017
57 3140.272
58 3142.836
59 3145.637
60 3146.043
61 3150.455
62 3154.301
63 3154.775
64 3161.394
65 3165.296
66 3166.098
67 3169.329
68 3169.673
69 3171.276
70 3173.427
71 3174.204
72 3175.726
73 3178.243
74 3179.048
75 3180.194
76 3184.949
77 3192.586
78 3194.228
79 3195.689
80 3198.969
81 3202.521
82 3204.321
83 3205.001
84 3207.585
85 3210.309
86 3211.194
87 3213.574
88 3214.075
89 3214.380
90 3216.738
91 3220.351
92 3222.404
93 3225.411
94 3229.010
95 3230.868
96 3235.840
97 3238.116
98 3238.934
99 3241.108
100 3243.689
101 3244.449
102 3245.760
103 3249.800
104 3251.916
105 3253.866
106 3254.810
107 3256.274
108 3257.367
109 3258.105
110 3259.061
111 3262.668
112 3263.570
113 3265.578
114 3266.635
115 3270.817
116 3272.027
117 3273.317
118 3273.916
119 3275.068
120 3280.371
121 3281.049
122 3281.702
123 3285.804
124 3286.583
125 3287.789
126 3290.600
127 3291.739
128 3292.521
129 3293.641
130 3298.050
131 3299.669
132 3301.651
133 3304.238
134 3305.304
135 3307.228
136 3309.365
137 3314.827
138 3319.345
139 3319.910
140 3324.753
141 3325.121
142 3327.193
143 3329.728
144 3330.477
145 3333.129
146 3334.604
147 3337.870
148 3340.725
149 3344.759
150 3346.556
151 3348.768
152 3350.924
153 3351.229
154 3354.180
155 3358.602
156 3360.998
157 3364.686
158 3372.823
159 3373.493
160 3374.975
161 3376.436
162 3378.573
163 3380.860
164 3385.532
165 3386.501
166 3387.921
167 3388.531
168 3392.035
169 3396.728
170 3397.516
171 3398.545
172 3401.711
173 3402.695
174 3405.558
175 3408.750
176 3413.013
177 3415.885
178 3417.498
179 3419.173
180 3421.210
181 3422.656
182 3423.990
183 3428.999
184 3433.999
185 3434.727
186 3435.977
187 3436.727
188 3437.307
189 3439.399
190 3442.579
191 3445.217
192 3445.744
193 3446.547
194 3449.645
195 3451.702
196 3454.095
197 3457.069
198 3462.851
199 3464.127
200 3465.765
201 3468.220
202 3469.345
203 3469.921
204 3471.219
205 3471.959
206 3476.747
207 3478.232
208 3479.173
209 3479.685
210 3480.053
211 3480.506
212 3482.761
213 3485.212
214 3486.551
215 3489.508
216 3491.536
217 3493.519
218 3495.700
219 3496.811
220 3498.010
221 3498.621
222 3501.867
223 3503.786
224 3509.779
225 3511.157
226 3514.388
227 3518.404
228 3518.886
229 3520.000
230 3521.270
231 3523.506
232 3526.634
233 3528.412
234 3530.515
235 3531.451
236 3535.320
237 3536.011
238 3537.160
239 3539.587
240 3542.498
241 3543.148
242 3544.018
243 3545.596
244 3545.845
245 3547.338
246 3548.514
247 3549.596
248 3550.718
249 3551.402
250 3553.110
251 3554.306
252 3555.014
253 3555.705
254 3556.904
255 3557.465
256 3559.508
257 3561.030
258 3561.781
259 3562.193
260 3563.376
261 3564.333
262 3565.030
263 3567.264
264 3569.820
265 3572.392
266 3573.220
267 3575.322
268 3581.608
269 3582.355
270 3583.102
271 3584.176
272 3588.441
273 3589.360
274 3589.750
275 3590.925
276 3591.452
277 3592.779
278 3593.883
279 3594.986
280 3595.618
281 3598.120
282 3599.724
283 3600.432
284 3601.034
285 3603.204
286 3604.682
287 3605.194
288 3605.879
289 3606.522
290 3608.378
291 3612.428
292 3612.867
293 3615.133
294 3615.850
295 3617.672
296 3618.363
297 3620.839
298 3621.119
299 3622.138
300 3622.795
301 3623.773
302 3625.628
303 3626.939
304 3629.850
305 3634.582
306 3635.943
307 3638.319
308 3638.644
309 3639.447
310 3639.833
311 3642.249
312 3643.512
313 3645.707
314 3647.646
315 3648.421
316 3649.250
317 3652.168
318 3654.462
319 3655.278
320 3656.050
321 3656.694
322 3657.643
323 3658.809
324 3659.629
325 3660.437
326 3661.621
327 3662.750
328 3663.202
329 3663.702
330 3666.981
331 3668.139
332 3669.640
333 3669.968
334 3671.539
335 3672.300
336 3673.260
337 3673.793
338 3674.014
339 3674.903
340 3675.137
341 3675.567
342 3678.048
343 3678.270
344 3678.480
345 3679.134
346 3679.710
347 3680.061
348 3680.447
349 3682.486
350 3682.545
351 3684.933
352 3687.984
353 3688.760
354 3690.623
355 3691.411
356 3691.876
357 3692.566
358 3694.178
359 3695.289
360 3695.974
361 3697.743
362 3698.106
363 3699.181
364 3699.880
365 3700.978
366 3703.230
367 3703.774
368 3704.861
369 3706.767
370 3709.862
371 3711.304
372 3711.623
373 3712.559
374 3715.560
375 3716.583
376 3718.207
377 3719.434
378 3719.836
379 3720.306
380 3721.215
381 3721.825
382 3723.656
383 3724.517
384 3725.393
385 3726.724
386 3727.902
387 3729.309
388 3730.368
389 3730.748
390 3732.985
391 3733.672
392 3734.597
393 3737.512
394 3737.889
395 3741.183
396 3742.923
397 3745.659
398 3745.970
399 3747.539
400 3749.084
401 3749.618
402 3751.022
403 3752.569
404 3754.593
405 3755.212
406 3756.294
407 3757.694
408 3758.467
409 3759.316
410 3761.469
411 3762.933
412 3765.270
413 3766.261
414 3767.901
415 3769.585
416 3770.056
417 3770.540
418 3771.370
419 3772.650
420 3776.271
421 3780.966
422 3783.012
423 3783.296
424 3784.575
425 3785.600
426 3789.167
427 3790.355
428 3790.794
429 3792.374
430 3794.698
431 3795.385
432 3797.207
433 3798.103
434 3800.198
435 3801.491
436 3803.075
437 3803.984
438 3805.820
439 3807.874
440 3809.490
441 3810.995
442 3813.067
443 3815.566
444 3818.685
445 3820.792
446 3821.431
447 3822.146
448 3823.067
449 3825.111
450 3825.700
451 3826.369
452 3826.830
453 3828.384
454 3830.060
455 3830.773
456 3831.640
457 3833.086
458 3834.679
459 3836.572
460 3837.875
461 3839.700
462 3840.800
463 3841.960
464 3842.896
465 3845.420
466 3846.887
467 3849.183
468 3850.570
469 3852.135
470 3854.510
471 3856.354
472 3859.839
473 3862.421
474 3863.406
475 3866.909
476 3868.530
477 3869.663
478 3872.722
479 3873.148
480 3873.474
481 3873.822
482 3874.243
483 3874.862
484 3875.373
485 3877.463
486 3878.662
487 3879.644
488 3884.822
489 3886.916
490 3891.970
491 3893.652
492 3895.419
493 3898.437
494 3900.878
495 3901.662
496 3903.102
497 3905.186
498 3908.749
499 3910.977
500 3911.909
501 3913.081
502 3914.760
503 3915.848
504 3916.417
505 3917.269
506 3918.070
507 3919.023
508 3920.442
509 3923.799
510 3925.093
511 3925.720
512 3927.421
513 3928.620
514 3929.669
515 3931.256
516 3932.550
517 3932.911
518 3933.661
519 3934.274
520 3936.353
521 3937.040
522 3937.923
523 3938.614
524 3942.073
525 3942.556
526 3943.394
527 3944.270
528 3945.135
529 3946.100
530 3947.331
531 3947.504
532 3948.030
533 3948.979
534 3950.395
535 3951.515
536 3952.740
537 3955.170
538 3955.890
539 3956.690
540 3959.300
541 3960.269
542 3961.521
543 3962.419
544 3964.030
545 3967.392
546 3968.467
547 3969.002
548 3969.664
549 3972.154
550 3972.639
551 3973.196
552 3974.480
553 3976.414
554 3979.360
555 3980.089
556 3981.106
557 3984.879
558 3987.206
559 3988.027
560 3988.599
561 3990.492
562 3991.730
563 3994.549
564 3996.061
565 3996.668
566 3997.865
567 3998.733
568 4000.281
569 4001.058
570 4001.893
571 4003.308
572 4005.092
573 4007.018
574 4008.210
575 4009.057
576 4009.819
577 4011.739
578 4012.495
579 4013.870
580 4014.716
581 4017.063
582 4018.099
583 4019.129
584 4020.354
585 4022.076
586 4023.338
587 4024.802
588 4025.655
589 4026.147
590 4027.009
591 4029.657
592 4029.825
593 4030.292
594 4030.842
595 4032.595
596 4033.862
597 4035.470
598 4036.048
599 4036.565
600 4039.864
601 4041.203
602 4042.910
603 4043.394
604 4044.418
605 4048.287
606 4049.944
607 4050.887
608 4052.940
609 4053.527
610 4059.253
611 4063.407
612 4064.331
613 4067.450
614 4069.201
615 4069.461
616 4070.238
617 4072.010
618 4072.400
619 4073.856
620 4075.503
621 4076.640
622 4076.960
623 4079.600
624 4080.670
625 4081.367
626 4082.400
627 4083.468
628 4085.042
629 4085.434
630 4086.520
631 4087.284
632 4088.726
633 4089.137
634 4094.747
635 4096.076
636 4097.150
637 4097.747
638 4100.341
639 4102.617
640 4103.910
641 4105.337
642 4107.050
643 4107.853
644 4108.419
645 4109.323
646 4110.826
647 4112.754
648 4115.759
649 4116.713
650 4123.572
651 4127.412
652 4128.650
653 4131.002
654 4131.712
655 4131.730
656 4132.753
657 4134.068
658 4135.480
659 4136.285
660 4136.395
661 4136.436
662 4138.040
663 4140.235
664 4142.701
665 4143.649
666 4148.181
667 4149.987
668 4154.720
669 4156.110
670 4156.516
671 4157.280
672 4157.395
673 4158.590
674 4161.738
675 4162.509
676 4164.179
677 4165.766
678 4168.634
679 4170.533
680 4178.059
681 4179.253
682 4179.715
683 4181.883
684 4184.137
685 4189.561
686 4190.712
687 4191.028
688 4192.362
689 4193.016
690 4194.936
691 4198.317
692 4200.675
693 4201.846
694 4204.041
695 4208.411
696 4208.890
697 4210.004
698 4210.923
699 4213.067
700 4214.828
701 4216.069
702 4217.450
703 4218.690
704 4220.068
705 4222.670
706 4223.440
707 4223.564
708 4223.593
709 4226.299
710 4226.726
711 4227.020
712 4227.387
713 4228.180
714 4229.147
715 4229.890
716 4230.426
717 4235.463
718 4237.230
719 4241.094
720 4247.988
721 4248.390
722 4250.314
723 4251.185
724 4253.538
725 4255.237
726 4255.751
727 4255.797
728 4256.253
729 4257.496
730 4258.520
731 4259.361
732 4260.333
733 4266.286
734 4269.942
735 4272.168
736 4272.874
737 4273.357
738 4274.024
739 4275.190
740 4276.807
741 4277.314
742 4277.550
743 4278.323
744 4280.568
745 4281.067
746 4281.414
747 4282.041
748 4282.900
749 4283.009
750 4283.518
751 4286.228
752 4288.668
753 4291.809
754 4294.719
755 4297.306
756 4297.990
757 4299.635
758 4299.839
759 4300.100
760 4300.660
761 4304.956
762 4306.366
763 4307.176
764 4308.122
765 4308.600
766 4309.250
767 4309.940
768 4311.799
769 4312.997
770 4314.319
771 4315.254
772 4318.415
773 4320.126
774 4325.274
775 4328.915
776 4330.843
777 4331.250
778 4332.060
779 4333.560
780 4335.337
781 4335.709
782 4337.277
783 4338.107
784 4340.895
785 4342.444
786 4343.951
787 4344.326
788 4345.167
789 4345.851
790 4346.436
791 4348.110
792 4349.072
793 4352.230
794 4352.612
795 4353.448
796 4354.482
797 4358.320
798 4359.372
799 4362.070
800 4363.794
801 4365.930
802 4367.870
803 4369.494
804 4369.875
805 4370.760
806 4371.360
807 4374.124
808 4374.785
809 4375.960
810 4378.176
811 4379.740
812 4381.402
813 4381.860
814 4384.656
815 4385.080
816 4387.787
817 4391.110
818 4392.974
819 4393.759
820 4397.915
821 4400.090
822 4401.020
823 4401.581
824 4402.927
825 4404.910
826 4408.482
827 4408.883
828 4412.739
829 4412.893
830 4414.486
831 4416.237
832 4416.844
833 4420.900
834 4422.048
835 4423.720
836 4426.010
837 4430.180
838 4431.020
839 4432.252
840 4432.963
841 4433.830
842 4438.746
843 4439.123
844 4439.480
845 4440.324
846 4440.866
847 4441.608
848 4443.665
849 4445.033
850 4445.315
851 4445.901
852 4447.834
853 4448.554
854 4448.880
855 4450.793
856 4452.565
857 4458.001
858 4460.530
859 4461.241
860 4461.527
861 4463.666
862 4465.340
863 4469.525
864 4470.990
865 4474.770
866 4475.221
867 4478.595
868 4479.637
869 4480.822
870 4481.830
871 4482.169
872 4483.346
873 4485.713
874 4486.897
875 4487.495
876 4488.312
877 4488.680
878 4489.664
879 4490.990
880 4493.333
881 4497.914
882 4498.550
883 4498.940
884 4499.983
885 4502.950
886 4505.216
887 4506.494
888 4510.526
889 4510.733
890 4513.223
891 4513.680
892 4515.118
893 4516.064
894 4519.259
895 4521.194
896 4522.323
897 4530.570
898 4532.257
899 4533.077
900 4533.237
901 4533.304
902 4534.120
903 4535.254
904 4537.144
905 4537.670
906 4540.999
907 4544.514
908 4545.080
909 4545.915
910 4547.249
911 4547.780
912 4552.153
913 4555.812
914 4558.346
915 4561.347
916 4563.661
917 4567.240
918 4568.142
919 4570.972
920 4577.823
921 4579.390
922 4579.827
923 4581.173
924 4588.426
925 4589.930
926 4592.666
927 4593.643
928 4595.420
929 4596.097
930 4598.770
931 4603.144
932 4607.934
933 4608.620
934 4609.600
935 4611.859
936 4612.543
937 4613.604
938 4615.024
939 4615.334
940 4619.479
941 4621.163
942 4628.298
943 4628.441
944 4631.761
945 4633.765
946 4637.250
947 4638.685
948 4640.046
949 4641.253
950 4644.707
951 4646.686
952 4647.251
953 4650.234
954 4651.555
955 4651.989
956 4655.212
957 4657.940
958 4659.570
959 4663.202
960 4666.005
961 4666.798
962 4668.171
963 4669.984
964 4673.660
965 4676.055
966 4680.237
967 4680.646
968 4683.351
969 4686.194
970 4689.251
971 4690.622
972 4691.635
973 4694.091
974 4695.038
975 4695.454
976 4700.771
977 4702.316
978 4703.360
979 4703.989
980 4705.760
981 4706.251
982 4708.294
983 4712.481
984 4712.840
985 4720.458
986 4721.276
987 4721.620
988 4722.088
989 4723.438
990 4723.784
991 4724.772
992 4726.910
993 4728.133
994 4729.128
995 4732.080
996 4735.930
997 4739.676
998 4740.529
999 4740.952
1000 4742.117
1001 4743.687
1002 4745.337
1003 4749.200
1004 4749.971
1005 4752.414
1006 4758.128
1007 4764.346
1008 4764.890
1009 4765.595
1010 4766.600
1011 4773.241
1012 4774.259
1013 4775.794
1014 4777.191
1015 4778.294
1016 4779.728
1017 4782.761
1018 4783.861
1019 4786.531
1020 4787.148
1021 4789.386
1022 4793.244
1023 4795.913
1024 4806.070
1025 4808.133
1026 4809.614
1027 4812.375
1028 4813.007
1029 4813.720
1030 4813.896
1031 4817.020
1032 4818.647
1033 4819.193
1034 4820.464
1035 4820.884
1036 4821.587
1037 4822.854
1038 4823.606
1039 4823.996
1040 4826.700
1041 4829.797
1042 4831.121
1043 4831.597
1044 4832.802
1045 4833.178
1046 4840.843
1047 4843.941
1048 4845.162
1049 4847.900
1050 4848.362
1051 4849.140
1052 4850.439
1053 4852.868
1054 4858.332
1055 4861.216
1056 4861.717
1057 4863.172
1058 4865.477
1059 4865.910
1060 4867.590
1061 4868.881
1062 4871.289
1063 4872.917
1064 4874.364
1065 4876.260
1066 4878.009
1067 4878.733
1068 4879.900
1069 4881.204
1070 4882.250
1071 4887.947
1072 4889.060
1073 4889.490
1074 4892.760
1075 4893.445
1076 4894.955
1077 4898.459
1078 4899.240
1079 4902.054
1080 4902.770
1081 4904.750
1082 4910.156
1083 4910.793
1084 4911.378
1085 4912.529
1086 4919.815
1087 4920.623
1088 4921.613
1089 4925.950
1090 4927.780
1091 4929.086
1092 4933.240
1093 4933.852
1094 4936.774
1095 4937.829
1096 4939.642
1097 4943.064
1098 4945.458
1099 4946.663
1100 4947.575
1101 4950.251
1102 4950.626
1103 4954.660
1104 4960.423
1105 4961.726
1106 4965.120
1107 4965.731
1108 4968.755
1109 4970.063
1110 4972.177
1111 4980.186
1112 4982.487
1113 4985.372
1114 4987.147
1115 4989.308
1116 4993.749
1117 5002.097
1118 5003.598
1119 5004.127
1120 5009.350
1121 5015.889
1122 5017.160
1123 5017.254
1124 5019.324
1125 5019.806
1126 5022.005
1127 5028.655
1128 5029.891
1129 5039.230
1130 5041.122
1131 5044.719
1132 5045.248
1133 5047.043
1134 5048.813
1135 5048.936
1136 5049.796
1137 5050.784
1138 5051.888
1139 5055.347
1140 5057.986
1141 5058.361
1142 5059.861
1143 5061.656
1144 5062.070
1145 5062.932
1146 5064.602
1147 5064.945
1148 5066.135
1149 5066.773
1150 5067.973
1151 5069.338
1152 5081.440
1153 5085.020
1154 5085.295
1155 5090.550
1156 5094.106
1157 5095.064
1158 5096.484
1159 5098.043
1160 5098.931
1161 5098.970
1162 5100.621
1163 5101.129
1164 5111.278
1165 5113.382
1166 5115.044
1167 5118.200
1168 5122.499
1169 5125.489
1170 5125.950
1171 5128.489
1172 5134.746
1173 5137.473
1174 5140.773
1175 5141.810
1176 5143.267
1177 5143.916
1178 5145.360
1179 5148.211
1180 5151.612
1181 5154.243
1182 5158.604
1183 5159.620
1184 5160.710
1185 5161.539
1186 5162.284
1187 5163.458
1188 5165.820
1189 5168.586
1190 5168.922
1191 5173.671
1192 5175.324
1193 5175.911
1194 5176.280
1195 5176.403
1196 5176.961
1197 5177.623
1198 5183.989
1199 5184.453
1200 5186.413
1201 5187.337
1202 5187.467
1203 5187.746
1204 5190.872
1205 5193.825
1206 5194.020
1207 5194.457
1208 5195.813
1209 5198.800
1210 5199.163
1211 5203.848
1212 5205.152
1213 5206.495
1214 5209.724
1215 5211.230
1216 5213.349
1217 5216.596
1218 5218.527
1219 5219.109
1220 5220.926
1221 5221.270
1222 5228.224
1223 5231.159
1224 5233.225
1225 5234.107
1226 5237.903
1227 5238.813
1228 5239.552
1229 5240.196
1230 5247.196
1231 5247.654
1232 5252.786
1233 5254.259
1234 5258.360
1235 5260.104
1236 5261.472
1237 5266.710
1238 5269.792
1239 5273.131
1240 5274.118
1241 5277.500
1242 5281.068
1243 5291.816
1244 5294.397
1245 5296.278
1246 5297.743
1247 5298.282
1248 5300.523
1249 5301.404
1250 5303.483
1251 5305.770
1252 5306.986
1253 5307.465
1254 5310.266
1255 5312.002
1256 5312.528
1257 5312.904
1258 5317.494
1259 5320.770
1260 5322.898
1261 5325.143
1262 5326.277
1263 5326.975
1264 5329.374
1265 5330.080
1266 5340.498
1267 5343.581
1268 5347.971
1269 5351.126
1270 5351.836
1271 5355.636
1272 5358.706
1273 5359.827
1274 5360.150
1275 5361.155
1276 5362.575
1277 5369.282
1278 5369.447
1279 5370.709
1280 5372.702
1281 5374.822
1282 5375.352
1283 5376.130
1284 5376.780
1285 5379.110
1286 5382.927
1287 5384.301
1288 5386.610
1289 5388.050
1290 5390.440
1291 5392.572
1292 5393.972
1293 5394.760
1294 5398.701
1295 5398.922
1296 5399.010
1297 5399.174
1298 5400.145
1299 5402.690
1300 5403.199
1301 5407.653
1302 5410.768
1303 5415.491
1304 5417.485
1305 5421.346
1306 5421.836
1307 5424.008
1308 5425.678
1309 5426.407
1310 5431.112
1311 5434.151
1312 5435.892
1313 5437.387
1314 5439.970
1315 5440.601
1316 5443.118
1317 5443.210
1318 5447.153
1319 5449.478
1320 5451.650
1321 5452.218
1322 5457.370
1323 5458.967
1324 5461.735
1325 5464.205
1326 5470.759
1327 5473.440
1328 5474.865
1329 5479.075
1330 5484.146
1331 5488.628
1332 5492.643
1333 5493.204
1334 5494.330
1335 5495.872
1336 5499.255
1337 5499.647
1338 5501.281
1339 5504.301
1340 5506.112
1341 5507.538
1342 5508.558
1343 5509.993
1344 5514.873
1345 5518.989
1346 5524.582
1347 5524.930
1348 5527.295
1349 5528.227
1350 5537.130
1351 5537.556
1352 5538.608
1353 5539.262
1354 5539.910
1355 5541.581
1356 5542.890
1357 5548.175
1358 5551.372
1359 5552.623
1360 5554.070
1361 5557.045
1362 5558.342
1363 5558.702
1364 5559.891
1365 5564.201
1366 5567.998
1367 5571.191
1368 5572.465
1369 5573.353
1370 5576.204
1371 5577.700
1372 5579.358
1373 5580.077
1374 5580.754
1375 5583.762
1376 5587.026
1377 5588.750
1378 5593.613
1379 5595.063
1380 5595.846
1381 5597.460
1382 5599.654
1383 5601.603
1384 5602.852
1385 5604.515
1386 5606.386
1387 5606.732
1388 5609.573
1389 5610.104
1390 5610.231
1391 5610.680
1392 5612.068
1393 5615.319
1394 5619.975
1395 5630.297
1396 5632.872
1397 5633.295
1398 5639.746
1399 5641.734
1400 5645.668
1401 5646.451
1402 5648.991
1403 5650.703
1404 5657.925
1405 5659.130
1406 5664.621
1407 5665.180
1408 5665.628
1409 5667.128
1410 5674.986
1411 5677.053
1412 5679.005
1413 5681.900
1414 5685.192
1415 5691.710
1416 5700.458
1417 5700.917
1418 5702.651
1419 5707.103
1420 5717.171
1421 5719.623
1422 5720.183
1423 5724.253
1424 5724.463
1425 5725.388
1426 5732.975
1427 5736.029
1428 5739.517
1429 5741.170
1430 5741.829
1431 5748.741
1432 5749.388
1433 5753.026
1434 5760.550
1435 5762.794
1436 5763.529
1437 5767.778
1438 5768.181
1439 5771.760
1440 5772.116
1441 5773.946
1442 5777.400
1443 5781.658
1444 5782.289
1445 5789.645
1446 5792.430
1447 5796.068
1448 5796.418
1449 5797.319
1450 5798.478
1451 5800.829
1452 5802.082
1453 5804.141
1454 5807.681
1455 5812.972
1456 5815.422
1457 5822.793
1458 5830.827
1459 5832.370
1460 5834.263
1461 5838.950
1462 5840.640
1463 5843.807
1464 5845.918
1465 5852.680
1466 5853.474
1467 5854.120
1468 5859.668
1469 5860.315
1470 5863.718
1471 5866.811
1472 5868.374
1473 5869.850
1474 5870.552
1475 5871.182
1476 5882.625
1477 5885.701
1478 5886.531
1479 5888.592
1480 5889.953
1481 5891.451
1482 5894.698
1483 5895.281
1484 5899.844
1485 5904.159
1486 5905.570
1487 5908.935
1488 5911.229
1489 5912.084
1490 5914.671
1491 5916.728
1492 5918.944
1493 5922.802
1494 5925.403
1495 5926.232
1496 5927.130
1497 5928.805
1498 5929.480
1499 5929.934
1500 5934.409
1501 5934.461
1502 5936.386
1503 5937.162
1504 5937.663
1505 5938.825
1506 5942.668
1507 5944.647
1508 5948.799
1509 5949.260
1510 5955.561
1511 5959.673
1512 5962.056
1513 5969.737
1514 5971.590
1515 5973.664
1516 5975.064
1517 5981.900
1518 5986.266
1519 5987.289
1520 5989.044
1521 5991.007
1522 5994.128
1523 5996.629
1524 5999.000
1525 6000.762
1526 6001.203
1527 6005.165
1528 6005.740
1529 6007.072
1530 6010.160
1531 6011.533
1532 6013.680
1533 6015.422
1534 6021.035
1535 6023.224
1536 6025.140
1537 6030.445
1538 6032.124
1539 6032.872
1540 6033.413
1541 6035.192
1542 6037.697
1543 6038.680
1544 6042.589
1545 6043.230
1546 6044.432
1547 6049.051
1548 6052.721
1549 6053.380
1550 6055.593
1551 6059.373
1552 6061.536
1553 6065.779
1554 6069.020
1555 6073.103
1556 6077.105
1557 6077.872
1558 6078.421
1559 6079.222
1560 6085.374
1561 6087.262
1562 6088.030
1563 6090.760
1564 6098.120
1565 6099.083
1566 6101.160
1567 6101.725
1568 6102.594
1569 6103.560
1570 6103.641
1571 6104.568
1572 6105.645
1573 6107.533
1574 6112.837
1575 6114.920
1576 6116.166
1577 6119.699
1578 6120.556
1579 6121.407
1580 6122.214
1581 6123.380
1582 6124.480
1583 6125.739
1584 6127.380
1585 6129.545
1586 6137.926
1587 6138.670
1588 6145.430
1589 6150.683
1590 6151.993
1591 6154.068
1592 6154.516
1593 6155.581
1594 6157.087
1595 6161.353
1596 6162.170
1597 6164.479
1598 6169.822
1599 6172.280
1600 6173.106
1601 6178.431
1602 6180.705
1603 6182.621
1604 6184.778
1605 6188.125
1606 6191.905
1607 6193.856
1608 6198.222
1609 6203.492
1610 6205.860
1611 6207.220
1612 6208.686
1613 6212.507
1614 6215.945
1615 6220.011
1616 6221.319
1617 6224.527
1618 6226.369
1619 6232.974
1620 6234.855
1621 6240.953
1622 6243.130
1623 6248.400
1624 6250.485
1625 6257.423
1626 6258.606
1627 6261.064
1628 6261.418
1629 6266.173
1630 6271.544
1631 6274.116
1632 6274.164
1633 6277.238
1634 6279.166
1635 6285.278
1636 6287.255
1637 6291.191
1638 6293.242
1639 6296.876
1640 6300.916
1641 6303.250
1642 6307.662
1643 6309.140
1644 6310.810
1645 6315.775
1646 6317.182
1647 6321.820
1648 6324.450
1649 6326.367
1650 6327.277
1651 6331.413
1652 6337.620
1653 6339.668
1654 6342.859
1655 6348.737
1656 6355.910
1657 6369.139
1658 6369.577
1659 6371.943
1660 6376.930
1661 6379.673
1662 6384.719
1663 6387.395
1664 6399.230
1665 6406.446
1666 6411.899
1667 6413.614
1668 6416.315
1669 6431.570
1670 6437.761
1671 6439.071
1672 6441.950
1673 6443.890
1674 6446.771
1675 6450.006
1676 6450.955
1677 6457.282
1678 6462.595
1679 6466.560
1680 6483.100
1681 6487.441
1682 6488.883
1683 6490.737
1684 6493.197
1685 6493.777
1686 6501.992
1687 6503.511
1688 6506.986
1689 6509.050
1690 6512.364
1691 6513.840
1692 6522.043
1693 6531.341
1694 6537.614
1695 6538.115
1696 6545.718
1697 6551.705
1698 6554.160
1699 6558.875
1700 6569.632
1701 6576.122
1702 6577.214
1703 6577.656
1704 6580.229
1705 6583.906
1706 6584.613
1707 6588.539
1708 6591.484
1709 6593.462
1710 6593.939
1711 6596.100
1712 6599.482
1713 6604.853
1714 6605.416
1715 6613.374
1716 6617.058
1717 6617.515
1718 6618.166
1719 6619.946
1720 6638.240
1721 6638.912
1722 6639.720
1723 6643.790
1724 6644.663
1725 6646.540
1726 6648.495
1727 6648.958
1728 6658.677
1729 6660.640
1730 6662.268
1731 6664.020
1732 6666.360
1733 6668.816
1734 6673.579
1735 6674.697
1736 6677.282
1737 6678.706
1738 6683.367
1739 6684.360
1740 6687.520
1741 6692.726
1742 6694.496
1743 6696.140
1744 6697.712
1745 6698.850
1746 6704.051
1747 6711.252
1748 6713.970
1749 6717.385
1750 6719.200
1751 6727.458
1752 6728.118
1753 6728.759
1754 6733.748
1755 6742.884
1756 6752.832
1757 6754.300
1758 6756.453
1759 6757.109
1760 6758.203
1761 6765.669
1762 6766.560
1763 6772.174
1764 6778.312
1765 6780.125
1766 6780.413
1767 6787.736
1768 6788.840
1769 6791.235
1770 6809.100
1771 6809.509
1772 6818.260
1773 6823.508
1774 6824.677
1775 6827.240
1776 6829.035
1777 6834.924
1778 6851.860
1779 6853.523
1780 6854.109
1781 6861.300
1782 6863.520
1783 6866.366
1784 6866.763
1785 6868.450
1786 6871.290
1787 6874.753
1788 6879.590
1789 6882.811
1790 6886.408
1791 6886.570
1792 6887.100
1793 6888.170
1794 6889.303
1795 6909.849
1796 6911.226
1797 6916.128
1798 6937.666
1799 6942.538
1800 6943.610
1801 6945.490
1802 6948.205
1803 6951.460
1804 6954.656
1805 6965.430
1806 6989.655
1807 6992.170
1808 6993.037
1809 7000.803
1810 7002.883
1811 7018.567
1812 7030.262
1813 7036.283
1814 7045.797
1815 7053.619
1816 7058.489
1817 7060.041
1818 7060.653
1819 7064.451
1820 7067.217
1821 7068.730
1822 7072.394
1823 7075.333
1824 7084.169
1825 7086.700
1826 7089.339
1827 7100.514
1828 7107.496
1829 7109.860
1830 7114.398
1831 7122.044
1832 7124.560
1833 7125.800
1834 7130.184
1835 7132.100
1836 7142.331
1837 7147.041
1838 7148.559
1839 7150.284
1840 7154.762
1841 7154.953
1842 7156.941
1843 7158.830
1844 7159.947
1845 7162.570
1846 7168.895
1847 7173.372
1848 7191.133
1849 7200.045
1850 7206.483
1851 7206.986
1852 7208.006
1853 7212.689
1854 7218.054
1855 7219.151
1856 7229.930
1857 7230.862
1858 7233.580
1859 7242.092
1860 7244.696
1861 7246.127
1862 7255.354
1863 7256.986
1864 7258.177
1865 7270.660
1866 7272.936
1867 7284.903
1868 7285.440
1869 7288.980
1870 7296.265
1871 7298.143
1872 7305.404
1873 7308.641
1874 7311.710
1875 7315.066
1876 7316.000
1877 7324.807
1878 7328.285
1879 7329.491
1880 7335.577
1881 7341.151
1882 7342.576
1883 7350.780
1884 7353.316
1885 7372.118
1886 7376.877
1887 7383.980
1888 7392.970
1889 7402.252
1890 7411.736
1891 7412.310
1892 7417.790
1893 7418.550
1894 7421.827
1895 7422.260
1896 7425.240
1897 7428.940
1898 7430.253
1899 7435.330
1900 7436.250
1901 7447.801
1902 7455.208
1903 7461.874
1904 7471.180
1905 7481.354
1906 7483.625
1907 7484.240
1908 7487.973
1909 7489.614
1910 7503.867
1911 7510.420
1912 7511.349
1913 7511.790
1914 7514.651
1915 7523.134
1916 7525.508
1917 7549.313
1918 7565.851
1919 7567.741
1920 7569.511
1921 7585.743
1922 7589.330
1923 7598.205
1924 7607.823
1925 7618.330
1926 7625.705
1927 7627.175
1928 7628.860
1929 7630.310
1930 7635.105
1931 7647.379
1932 7652.320
1933 7653.828
1934 7654.699
1935 7658.324
1936 7660.890
1937 7670.040
1938 7678.126
1939 7685.307
1940 7697.924
1941 7704.810
1942 7710.269
1943 7713.937
1944 7724.206
1945 7731.738
1946 7782.316
1947 7788.934
1948 7798.358
1949 7814.330
1950 7817.770
1951 7834.457
1952 7840.457
1953 7841.791
1954 7847.539
1955 7861.910
1956 7865.969
1957 7868.200
1958 7886.283
1959 7891.075
1960 7900.320
1961 7916.450
1962 7937.733
1963 7941.726
1964 7948.175
1965 7978.973
1966 7987.973
1967 8006.156
1968 8014.786
1969 8022.201
1970 8022.330
1971 8032.431
1972 8037.230
1973 8046.130
1974 8053.307
1975 8062.630
1976 8066.826
1977 8068.742
1978 8075.652
1979 8079.680
1980 8085.219
1981 8093.623
1982 8103.692
1983 8115.311
1984 8122.723
1985 8129.405
1986 8138.475
1987 8143.138
1988 8159.727
1989 8169.786
1990 8178.840
1991 8186.911
1992 8202.147
1993 8203.201
1994 8231.406
1995 8252.393
1996 8254.742
1997 8259.511
1998 8263.924
1999 8264.521
2000 8275.626
2001 8320.855
2002 8330.450
2003 8332.210
2004 8358.726
2005 8367.393
2006 8369.340
2007 8408.208
2008 8416.727
2009 8417.998
2010 8421.225
2011 8424.647
2012 8445.487
2013 8446.511
2014 8464.236
2015 8471.826
2016 8478.358
2017 8490.300
2018 8510.624
2019 8516.554
2020 8521.441
2021 8554.944
2022 8573.120
2023 8605.780
2024 8616.222
2025 8620.470
2026 8621.322
2027 8629.142
2028 8631.356
2029 8635.741
2030 8638.362
2031 8639.441
2032 8645.309
2033 8648.396
2034 8649.149
2035 8655.876
2036 8662.137
2037 8665.485
2038 8667.446
2039 8667.943
2040 8668.116
2041 8678.430
2042 8682.220
2043 8686.093
2044 8686.619
2045 8687.848
2046 8691.335
2047 8698.596
2048 8701.121
2049 8703.702
2050 8704.860
2051 8707.359
2052 8709.234
2053 8710.414
2054 8712.853
2055 8713.654
2056 8719.629
2057 8721.659
2058 8722.458
2059 8723.718
2060 8724.376
2061 8730.821
2062 8732.424
2063 8734.023
2064 8739.781
2065 8748.031
2066 8749.169
2067 8751.206
2068 8758.243
2069 8760.449
2070 8761.720
2071 8766.745
2072 8771.880
2073 8772.384
2074 8772.805
2075 8773.532
2076 8775.573
2077 8782.716
2078 8784.142
2079 8784.562
2080 8784.590
2081 8790.376
2082 8792.058
2083 8798.172
2084 8804.590
2085 8805.898
2086 8810.254
2087 8812.511
2088 8816.173
2089 8817.743
2090 8821.759
2091 8829.693
2092 8841.183
2093 8847.990
2094 8848.306
2095 8849.315
2096 8849.970
2097 8852.791
2098 8854.908
2099 8859.019
2100 8860.976
2101 8866.715
2102 8868.833
2103 8875.232
2104 8881.900
2105 8889.194
2106 8892.986
2107 8893.540
2108 8910.856
2109 8912.773
2110 8917.510
2111 8927.729
2112 8928.093
2113 8941.661
2114 8948.421
2115 8949.122
2116 8955.847
2117 8957.986
2118 8962.190
2119 8962.207
2120 8962.895
2121 8967.003
2122 8967.640
2123 8969.867
2124 8979.702
2125 8980.739
2126 8985.281
2127 8987.408
2128 8990.478
2129 8990.894
2130 8995.189
2131 8997.876
2132 9009.883
2133 9012.526
2134 9016.590
2135 9017.590
2136 9031.819
2137 9037.893
2138 9038.691
2139 9040.123
2140 9045.353
2141 9046.713
2142 9048.250
2143 9053.485
2144 9056.081
2145 9062.563
2146 9063.960
2147 9066.111
2148 9067.248
2149 9069.582
2150 9072.278
2151 9075.420
2152 9076.195
2153 9090.446
2154 9090.818
2155 9101.083
2156 9111.531
2157 9118.138
2158 9119.637
2159 9122.966
2160 9126.329
2161 9129.183
2162 9132.273
2163 9134.692
2164 9135.938
2165 9140.556
2166 9155.297
2167 9156.188
2168 9165.895
2169 9167.795
2170 9170.822
2171 9178.779
2172 9187.565
2173 9193.593
2174 9194.680
2175 9199.685
2176 9203.962
2177 9208.025
2178 9208.581
2179 9215.920
2180 9221.433
2181 9224.498
2182 9227.512
2183 9232.496
2184 9233.273
2185 9233.857
2186 9239.326
2187 9243.761
2188 9245.256
2189 9250.578
2190 9260.325
2191 9263.683
2192 9266.207
2193 9267.689
2194 9270.150
2195 9271.181
2196 9289.562
2197 9291.580
2198 9294.974
2199 9300.013
2200 9307.896
2201 9310.444
2202 9317.729
2203 9320.071
2204 9336.162
2205 9340.705
2206 9354.218
2207 9355.991
2208 9360.988
2209 9378.534
2210 9383.272
2211 9388.931
2212 9390.585
2213 9399.089
2214 9409.349
2215 9413.676
2216 9414.089
2217 9417.457
2218 9420.620
2219 9431.600
2220 9432.282
2221 9436.812
2222 9450.461
2223 9455.202
2224 9458.626
2225 9470.682
2226 9474.879
2227 9486.926
2228 9495.498
2229 9497.189
2230 9500.300
2231 9505.393
2232 9507.652
2233 9510.946
2234 9536.407
2235 9548.030
2236 9553.984
2237 9561.245
2238 9565.559
2239 9567.280
2240 9567.829
2241 9577.348
2242 9582.813
2243 9583.080
2244 9587.027
2245 9590.343
2246 9595.391
2247 9608.486
2248 9608.936
2249 9619.218
2250 9620.995
2251 9625.198
2252 9627.671
2253 9629.569
2254 9630.744
2255 9632.644
2256 9642.478
2257 9643.319
2258 9656.441
2259 9663.644
2260 9664.698
2261 9674.791
2262 9676.104
2263 9676.836
2264 9685.677
2265 9695.031
2266 9701.576
2267 9702.272
2268 9716.142
2269 9718.492
2270 9736.213
2271 9743.562
2272 9746.463
2273 9753.592
2274 9757.220
2275 9769.535
2276 9779.453
2277 9789.511
2278 9796.200
2279 9797.245
2280 9800.363
2281 9812.697
2282 9814.958
2283 9819.178
2284 9826.449
2285 9831.669
2286 9833.423
2287 9834.007
2288 9838.848
2289 9840.917
2290 9845.684
2291 9855.742
2292 9864.598
2293 9865.449
2294 9867.891
2295 9868.921
2296 9871.995
2297 9872.630
2298 9873.815
2299 9896.048
2300 9898.354
2301 9902.356
2302 9907.472
2303 9910.075
2304 9910.837
2305 9911.113
2306 9912.199
2307 9916.120
2308 9927.325
2309 9934.718
2310 9935.199
2311 9938.836
2312 9943.064
2313 9952.370
2314 9963.491
2315 9970.463
2316 9974.689
2317 9985.050
2318 9987.635
2319 9989.938
2320 9992.648
2321 9993.863
2322 9998.509
2323 9998.960
2324 10011.39
2325 10033.22
2326 10037.11
2327 10039.09
2328 10039.36
2329 10045.31
2330 10048.03
2331 10056.20
2332 10079.54
2333 10081.22
2334 10082.87
2335 10083.78
2336 10086.40
2337 10089.13
2338 10102.57
2339 10105.07
2340 10111.87
2341 10117.99
2342 10131.36
2343 10133.56
2344 10137.38
2345 10140.43
2346 10141.39
2347 10144.26
2348 10175.00
2349 10178.52
2350 10180.59
2351 10184.53
2352 10188.41
2353 10211.53
2354 10214.43
2355 10218.43
2356 10223.65
2357 10236.02
2358 10241.77
2359 10247.55
2360 10250.68
2361 10255.58
2362 10257.36
2363 10258.16
2364 10271.18
2365 10272.05
2366 10283.11
2367 10288.99
2368 10301.16
2369 10304.07
2370 10308.54
2371 10314.89
2372 10316.89
2373 10334.92
2374 10343.82
2375 10344.28
2376 10346.53
2377 10349.04
2378 10358.16
2379 10369.52
2380 10377.48
2381 10378.14
2382 10387.49
2383 10403.05
2384 10412.99
2385 10429.67
2386 10436.86
2387 10439.50
2388 10450.44
2389 10459.72
2390 10483.36
2391 10492.25
2392 10494.84
2393 10498.49
2394 10502.58
2395 10512.20
2396 10518.18
2397 10525.83
2398 10527.78
2399 10529.98
2400 10533.38
2401 10536.86
2402 10540.21
2403 10540.95
2404 10545.29
2405 10554.83
2406 10556.45
2407 10565.30
2408 10576.35
2409 10585.02
2410 10587.09
2411 10591.34
2412 10596.90
2413 10601.33
2414 10605.45
2415 10613.38
2416 10615.00
2417 10622.54
2418 10646.51
2419 10664.23
2420 10678.36
2421 10700.35
2422 10703.64
2423 10723.92
2424 10725.41
2425 10726.92
2426 10732.24
2427 10741.81
2428 10744.36
2429 10752.47
2430 10754.33
2431 10772.43
2432 10776.98
2433 10779.09
2434 10785.91
2435 10786.36
2436 10803.91
2437 10804.52
2438 10807.34
2439 10812.27
2440 10820.08
2441 10834.17
2442 10853.45
2443 10862.50
2444 10869.96
2445 10874.57
2446 10890.28
2447 10901.18
2448 10911.32
2449 10913.57
2450 10923.72
2451 10941.62
2452 10948.15
2453 10962.88
2454 10983.63
2455 10990.21
Thanks for the quick response and the example! For my application I need to do interference between multiple simultaneously diffracted orders from the same grating. Maybe there's something I can patch together using the wavefronts from two different simulations at different orders.
Hi Mike, thanks for using KrakenOS, these kinds of iterations will make it better and better. Regarding what you ask me, I cannot make diffraction occur simultaneously in two orders at the same time because I am processing rays individually. I have completed an example where it includes a change of order when redefining the system in each iteration, please install the latest version of KrakenOS (V1.0.0.15) and run this attached file, there you can see what I mention.
Hi Joel, Thank you for work on this great Zemax alternative. For my purpose I add to your code multi ray tracing with power dependency on the reflection coefficient or diffraction order . And if you don't mind, I wish to make a fork with support multi ray tracing. Best regards Andrey Zhuravlev
Thanks for your work on this, this codebase looks like a great alternative to Zemax.
I would like to use this software to raytrace an all-reflective spatial heterodyne spectrometer, which depends on interference of light diffracted in multiple orders from the same diffraction grating. I tried to implement this but it looks like there's no support at present for multiple diffraction orders from the same grating--- is that right?
I'm willing to do the work to add this support myself if it's reasonably easy, but I will need some pointers about what work needs to be done and where.