Skip to content
Snippets Groups Projects
Commit 1a993170 authored by whooie's avatar whooie
Browse files

typo

parent adc4a3c5
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ class AbsorptionData(ImagingData):
def compute_od(shadow: np.ndarray, bright: np.ndarray, dark: np.ndarray):
with np.errstate(divide="ignore", invalid="ignore"):
T = (sh - da) / (br - da)
T = (shadow - dark) / (bright - dark)
H, W = T.shape
OD = -np.log(T)
OD[~np.isfinite(OD)] = 0.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment