Enable using multiple uncertainty estimates per value

Open
#77 0 comments 0 reactions 1 assignee View on GitHub

@garryod is already working on this.

Since Oct 18, 2022.

Assessment

This issue has not been assessed yet.

Description

enhancement

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.

Dominant language
C
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DiamondLightSource/numcertain

All issues in DiamondLightSource/numcertain

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.