Skip to content

Convert levels to weights in compute_uncertainty - #34

Merged
mcm001 merged 1 commit into
PhotonVision:mainfrom
thatcomputerguy0101:uncertainty-levels-to-weights
Sep 20, 2026
Merged

mcm001 merged 1 commit into
PhotonVision:mainfrom
thatcomputerguy0101:uncertainty-levels-to-weights

Conversation

@thatcomputerguy0101

Copy link
Copy Markdown
Contributor

compute_uncertainty was documented as taking levels, but was directly passing the data to mrcal, which expected weights, without doing any conversion. This fixes the problem by adding level to weight conversion to compute_uncertainty. This passes the PV uncertanty tests once modified with the correct level.

@thatcomputerguy0101
thatcomputerguy0101 force-pushed the uncertainty-levels-to-weights branch from 753c821 to 02ecb3c Compare September 19, 2026 17:49
@mcm001
mcm001 merged commit ebadbb7 into PhotonVision:main Sep 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants