mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-12-26 10:57:55 -07:00
fix normalization
This commit is contained in:
parent
acc54cbf2b
commit
39ecee6ae8
|
@ -41,7 +41,7 @@ if __name__ == "__main__":
|
|||
global white_cal
|
||||
global black_cal
|
||||
|
||||
return (get_reflectivity(chan) - black_cal) / (white_cal - black_cal)
|
||||
return (get_reflectivity(chan) - black_cal[chan]) / (white_cal[chan] - black_cal[chan])
|
||||
|
||||
while True:
|
||||
for ii in range(8):
|
||||
|
|
Loading…
Reference in New Issue
Block a user