Skip to content

Use new version of ansys-api-speos & docker image speos-rpc (23r2) #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.4"
services:
optics_speos-rpc:
image: ghcr.io/pyansys/pyoptics/speos-rpc:2023.2.0.305
image: ghcr.io/pyansys/pyoptics/speos-rpc:2023.2.0.666
container_name: optics_speos-rpc
ports:
- "50051:50051"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ classifiers=[
dependencies=[
"grpcio==1.51.3",
"grpcio-tools==1.48.2",
"ansys-api-speos==0.1.0",
"ansys-api-speos==1.0.0",
]

[project.optional-dependencies]
Expand Down
55 changes: 55 additions & 0 deletions tests/assets/CameraInputFiles/CameraDistortion.OPTDistortion
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
OPTIS - Optical distortion file v1.0
created by LMR 2011-01-22
0
51
0.0000 0.0000
0.0227 0.0211
0.0454 0.0421
0.0681 0.0631
0.0908 0.0840
0.1134 0.1048
0.1361 0.1255
0.1588 0.1461
0.1815 0.1665
0.2042 0.1868
0.2269 0.2069
0.2496 0.2268
0.2723 0.2465
0.2950 0.2660
0.3176 0.2852
0.3403 0.3043
0.3630 0.3231
0.3857 0.3416
0.4084 0.3599
0.4311 0.3779
0.4538 0.3956
0.4765 0.4131
0.4992 0.4302
0.5219 0.4471
0.5445 0.4637
0.5672 0.4800
0.5899 0.4961
0.6126 0.5118
0.6353 0.5273
0.6580 0.5424
0.6807 0.5573
0.7034 0.5719
0.7261 0.5862
0.7487 0.6002
0.7714 0.6139
0.7941 0.6274
0.8168 0.6406
0.8395 0.6535
0.8622 0.6662
0.8849 0.6786
0.9076 0.6907
0.9303 0.7026
0.9529 0.7143
0.9756 0.7257
0.9983 0.7368
1.0210 0.7478
1.0437 0.7585
1.0664 0.7690
1.0891 0.7792
1.1118 0.7893
1.1345 0.7991
82 changes: 82 additions & 0 deletions tests/assets/CameraInputFiles/CameraSensitivityBlue.spectrum
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
OPTIS - Spectrum file v1.0
Blue
79
380 0
380.7 0.1294
388.3 1.5528
391 2.38095
394.5 3.41615
399.3 6.52174
401.4 8.17805
405.5 11.4907
411.7 16.4596
417.9 22.3602
419.3 23.6801
421.4 25.6599
428.9 32.9193
432.4 37.1118
436.5 42.1429
442.7 49.6894
448.9 56.5217
452.3 59.9379
455.8 63.354
460.6 66.9772
462 68.0124
466.1 70.4969
468.2 71.7391
470.9 72.5673
474.4 73.6025
475.1 73.6025
475.8 73.6025
479.2 73.6025
480.6 73.2919
484.7 72.3602
485.4 71.9462
488.8 69.8758
489.5 69.3434
491.6 67.7462
493.7 66.1491
498.5 61.5295
499.2 60.8696
504 55.2795
504.7 54.2236
507.4 50
508.1 49.0683
508.8 48.1366
513.6 41.6149
514.3 40.6444
518.5 34.8214
519.1 33.8509
521.2 30.4348
523.3 27.0186
524.7 25.4037
529.5 19.7516
530.2 18.9441
534.3 14.2857
535.7 12.7329
539.1 10.2743
540.5 9.29089
543.3 7.32402
543.9 6.8323
548.8 4.03727
549.4 3.83023
550.1 3.62319
552.9 2.79503
555 2.27743
555.6 2.1049
559.1 1.24224
559.8 1.18012
561.2 1.0559
565.3 0.68323
566 0.621118
570.8 0.379572
572.2 0.310559
576.3 0.263975
577.7 0.248447
582.5 0.194099
586 0.15528
588 0.131988
590.1 0.108696
594.2 0.0621118
594.9 0.0543478
599.7 0
104 changes: 104 additions & 0 deletions tests/assets/CameraInputFiles/CameraSensitivityGreen.spectrum
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
OPTIS - Spectrum file v1.0
Green
101
380 0
380.7 0
388.3 0.455487
391 0.621118
394.5 0.842946
399.3 1.1535
401.4 1.2866
405.5 1.5528
411.7 2.25155
417.9 2.95031
419.3 3.10559
421.4 3.49788
428.9 4.93625
432.4 5.59006
436.5 6.58385
442.7 8.07453
448.9 10.071
452.3 11.1801
455.8 13.1211
460.6 15.8385
462 17.3913
466.1 22.0497
468.2 24.4454
470.9 27.6398
474.4 31.4108
475.1 32.165
475.8 32.9193
479.2 35.5812
480.6 36.646
484.7 38.5093
485.4 38.8199
488.8 41.4079
489.5 41.9255
491.6 44.5652
493.7 47.205
498.5 53.7267
499.2 55.0725
504 64.4928
504.7 65.8385
507.4 72.4638
508.1 74.1201
508.8 75.7764
513.6 85.2873
514.3 86.646
518.5 93.1677
519.1 93.9441
521.2 96.2733
523.3 98.1366
524.7 98.5507
529.5 100
530.2 99.8669
534.3 99.0683
535.7 98.3585
539.1 96.5839
540.5 95.2381
543.3 92.5466
543.9 91.96
548.8 87.8537
549.4 87.2671
550.1 86.413
552.9 82.9969
555 80.4348
555.6 79.4341
559.1 74.4306
559.8 73.43
561.2 71.4286
565.3 64.7737
566 63.6646
570.8 54.9689
572.2 53.1056
576.3 47.5155
577.7 45.5832
582.5 38.8199
586 33.5792
588 30.4348
590.1 27.7433
594.2 22.3602
594.9 21.6011
599.7 16.2871
600.4 15.528
604.5 12.1739
607.3 9.93789
610.1 8.32298
614.2 5.90062
620.4 3.72671
628 2.58799
628.6 2.48447
636.9 1.86335
641 1.5528
644.5 1.294
649.3 0.931677
654.1 0.931677
657.6 0.931677
661 0.759144
667.9 0.414079
670 0.310559
676.2 0.25974
683.1 0.203275
692 0.12987
704.4 0.0282326
707.9 0
96 changes: 96 additions & 0 deletions tests/assets/CameraInputFiles/CameraSensitivityRed.spectrum
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
OPTIS - Spectrum file v1.0
Red
93
401.4 0
405.5 0.0642536
411.7 0.160634
417.9 0.257014
419.3 0.278432
421.4 0.310559
428.9 0.15528
432.4 0.0846979
436.5 0
442.7 0.149734
448.9 0.299468
452.3 0.382653
455.8 0.465839
460.6 0.582298
462 0.615572
466.1 0.715395
468.2 0.765306
470.9 0.831854
474.4 0.91504
475.1 0.931677
475.8 0.892857
479.2 0.698758
480.6 0.621118
484.7 0.388199
485.4 0.349379
488.8 0.15528
489.5 0.11646
491.6 0
493.7 0.0388199
498.5 0.1294
499.2 0.14234
504 0.232919
504.7 0.245859
507.4 0.297619
508.1 0.310559
508.8 0.336439
513.6 0.517598
514.3 0.543478
518.5 0.698758
519.1 0.724638
521.2 0.802277
523.3 0.879917
524.7 0.931677
529.5 0.742641
530.2 0.715636
534.3 0.553605
535.7 0.499595
539.1 0.364569
540.5 0.310559
543.3 0.310559
543.9 0.310559
548.8 0.310559
549.4 0.310559
550.1 0.310559
552.9 1.24224
555 1.94099
555.6 2.17391
559.1 4.7619
559.8 5.2795
561.2 7.76398
565.3 15.2174
566 16.677
570.8 26.8944
572.2 29.8137
576.3 38.8975
577.7 41.9255
582.5 48.7578
586 50.9317
588 51.2422
590.1 51.5528
594.2 52.6176
594.9 52.795
599.7 53.1056
600.4 52.9281
604.5 51.8634
607.3 50.1553
610.1 48.4472
614.2 44.9689
620.4 39.7516
628 32.9193
628.6 32.4415
636.9 26.7081
641 24.1671
644.5 22.0497
649.3 19.2547
654.1 16.4596
657.6 14.7516
661 13.0435
667.9 8.69565
670 7.45342
676.2 3.72671
683.1 1.5528
692 0
Loading