Skip to content

Allow for computations where both directions of an edge have been calculated - #22

Closed
hannahbrucemacdonald wants to merge 2 commits into
mainfrom
reversible-edges
Closed

Allow for computations where both directions of an edge have been calculated#22
hannahbrucemacdonald wants to merge 2 commits into
mainfrom
reversible-edges

Conversation

@hannahbrucemacdonald

Copy link
Copy Markdown
Collaborator

Description

form_edge_matrix now checks if the backwards edge has been run, and if so, uses a combination rule to use both to generate the matrix.

the matrix returned will be fully symmetric/antisymmetric

Todos

Notable points that this PR has either accomplished or will accomplish.

  • TODO 1

Questions

  • Question1

Status

  • Ready to go

@jchodera

Copy link
Copy Markdown
Contributor

Awesome!

But shouldn't it combine these in an uncertainty-aware manner? The optimal way to combine two independent measurements A1, A2 with standard errors dA1, dA2 is via the MLE:

A = w1 * A1 + w2*A2
dA = sqrt(1 / (dA1**(-2) + dA2**(-2))
w1 = dA1**(-2) / (dA1**(-2) + dA2**(-2))
w2 = dA2**(-2) / (dA1**(-2) + dA2**(-2))

The measurement with the smallest uncertainty will have greater weight.

@lgtm-com

lgtm-com Bot commented Oct 18, 2020

Copy link
Copy Markdown

This pull request introduces 1 alert and fixes 2 when merging 888fff3 into 18e28c4 - view on LGTM.com

new alerts:

  • 1 for Syntax error

fixed alerts:

  • 2 for Unused local variable

@jthorton

Copy link
Copy Markdown
Contributor

implemented in #211

@jthorton jthorton closed this Jul 16, 2026
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.

3 participants