Skip to content

Commit f7418bf

Browse files
committed
Add random state
1 parent 1411b32 commit f7418bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/uncertainty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ tba_dem_coreg = tba_dem.coregister_3d(ref_dem, inlier_mask=inlier_mask)
7979

8080
```{code-cell} ipython3
8181
# Estimate elevation uncertainty assuming both DEMs have similar precision
82-
sig_dem, rho_sig = tba_dem_coreg.estimate_uncertainty(ref_dem, stable_terrain=inlier_mask, precision_of_other="same")
82+
sig_dem, rho_sig = tba_dem_coreg.estimate_uncertainty(ref_dem, stable_terrain=inlier_mask, precision_of_other="same", random_state=42)
8383
8484
# The error map variability is estimated from slope and curvature by default
8585
sig_dem.plot(cmap="Purples", cbar_title=r"Error in elevation (1$\sigma$, m)")

0 commit comments

Comments
 (0)