Skip to content

Commit

Permalink
remove unused npz results. tighten tolerances a bit. update a few mor…
Browse files Browse the repository at this point in the history
…e millipede_wilks results
  • Loading branch information
tianluyuan committed Sep 13, 2023
1 parent 21db106 commit 0c1b494
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ jobs:
cd ./resources/launch_scripts
./local-scan.sh
- name: test output against known result (.npz/.json)
- name: test output against known result (.json)
run: |
ls $SKYSCAN_OUTPUT_DIR
# get newest run*.json
Expand Down
2 changes: 1 addition & 1 deletion tests/compare_scan_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from skyreader import SkyScanResult
from wipac_dev_tools import logging_tools

RTOL_PER_FIELD = {"llh": 0.18, "E_in": 0.7, "E_tot": 0.7}
RTOL_PER_FIELD = {"llh": 0.15, "E_in": 0.1, "E_tot": 0.1}


def read_file(filepath: Path) -> SkyScanResult:
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -9,75 +9,75 @@
"data": [
[
0,
1545.8400104549182,
1003.7804777735008,
0.0,
0.0
],
[
1,
1970.208826812829,
236192.35246055335,
250087.7438833808
1267.1870302870784,
12.756438311452502,
71386850985.32727
],
[
2,
1729.5021261383893,
19251670.03919484,
19251670.03919484
1240.4862418920195,
70184949.07792023,
70184949.07792023
],
[
3,
1877.7270815289523,
11941.150513694414,
414839574.8511649
1285.4499749710162,
1036.3159258825767,
121415794169.23071
],
[
4,
1458.206250694135,
156290.65052274425,
1446490.7626548628
885.9812220411052,
587159.9723015957,
2784798.702598525
],
[
5,
1738.7243757182262,
0.0,
0.0
899.2148501074295,
318441.69598165754,
4004915.076877316
],
[
6,
1739.124090724066,
486588.06684078655,
486860.48571567057
1248.0152252512094,
15408509.950618397,
15408509.950618397
],
[
7,
1475.6155209271724,
7998.549415788376,
164849413.5862351
971.1299408825387,
2986.176161570615,
962331062.2116421
],
[
8,
1457.109346389954,
433927.5762162365,
433927.5762162365
949.1523732817893,
6405319.433862848,
6405319.433862848
],
[
9,
1868.6539912014223,
6889.193972353964,
234711224.21033812
1280.1513791233824,
0.0,
7950233448.033686
],
[
10,
1918.4197455427764,
0.0,
0.0
1339.9289527714773,
7803463.509438801,
7803463.509438801
],
[
11,
1871.7735039205495,
123612.76817305968,
440732334.3108262
1292.6605583190178,
24.364912345738226,
22052375262.358047
]
],
"metadata": {
Expand All @@ -89,4 +89,4 @@
"is_real_event": true
}
}
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 0c1b494

Please sign in to comment.