DiamondLightSource / DiamondLightSource/numcertain

Enable using multiple uncertainty estimates per value

Open
#77 0 comments 0 reactions 1 assignee Claimed by @garryod View on GitHub
enhancement
Dominant language
C
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Some values can be accompanied by uncertainty estimates from multiple sources. It would be helpful to have the ability to add not just a single uncertainty value, but an ordered list of uncertainty values, each of which gets propagated in turn.

This would imply that we are able to do operations between values with a list of uncertainties:
a = uncertain(42.0, [5.0, 4.0])
b = uncertain(36, [12, 13])
where it has to be checked that the uncertainties list length is identical between subsequent pairs.

In operations between mixed types:
a = uncertain(42.0, [5.0, 4.0])
b = uncertain(36, 12)
the propagation would happen with each list item from a in turn with the uncertainty from b.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.