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
Copy file name to clipboardExpand all lines: docs/loss-types.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Distance to crystal. How many steps remain before the result is fully converged.
31
31
**Combine semantics:**`max`. The furthest-from-crystal step dominates. If one step is 3 iterations away and another is 7, the pipeline is 7 iterations away.
@@ -55,7 +55,7 @@ Which dimensions were dark during observation. Tracks both which specific dimens
55
55
**Combine semantics:** Union of dark dimensions, max of aperture fraction. If step A missed dims [1, 3] and step B missed dims [2, 3], the pipeline missed [1, 2, 3].
56
56
57
57
```rust
58
-
useimperfect::{Imperfect, ApertureLoss};
58
+
useterni::{Imperfect, ApertureLoss};
59
59
60
60
// Observed 8 of 10 dimensions — dims 2 and 7 were dark
Implement `Loss` for any domain-specific measurement. The only requirements: `Clone + Default`, the four trait methods, and `combine` must be associative.
0 commit comments