Skip to content

Convert levels to weights in compute_uncertainty - #34

Open
thatcomputerguy0101 wants to merge 1 commit into
PhotonVision:mainfrom
thatcomputerguy0101:uncertainty-levels-to-weights
Open

thatcomputerguy0101 wants to merge 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
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.

1 participant