You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to implement this fix in an older working version of mine, but failed
(py39) Wolfmans-MacPro-Desktop:UniSpec_Processing sserbin$ python src/Main.py
Found 2 runs in /Volumes/TEST/Projects/NGEE-Arctic/Data/Barrow/Spectra/Tram_UniSpec-DC/2015_Data/20150611/.
WPs Stops
0: 3 137
1: 3 137
2: 3 137
Saturated Measurement Count
Ch_B Ch_A
0 WPs and 0 stops saturated.
Traceback (most recent call last):
File "/Users/sserbin/Data/GitHub/UniSpec_Processing/src/Main.py", line 88, in <module>
main()
File "/Users/sserbin/Data/GitHub/UniSpec_Processing/src/Main.py", line 76, in main
R = spec.refl(intdata_Stops, avg_WP)
File "/Users/sserbin/Data/GitHub/UniSpec_Processing/src/BasicProcessing.py", line 412, in refl
refl[s_idx, 1] = (WP_data[s_idx][consts.int_CH_B] / WP_data[s_idx][consts.int_CH_A]) * (stop[consts.int_CH_A] / stop[consts.int_CH_B])
IndexError: index 3 is out of bounds for axis 0 with size 3
Correction exists in "2020_Improvements" branch but hasn't been merged.
Old (BasicProcessing.py: line 435):
Corrected:
The text was updated successfully, but these errors were encountered: