Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uncertainty scaling update #41

Merged
merged 2 commits into from
Oct 25, 2024
Merged

uncertainty scaling update #41

merged 2 commits into from
Oct 25, 2024

Conversation

tjlane
Copy link
Collaborator

@tjlane tjlane commented Oct 25, 2024

Enable scaling of two maps with uncertainty weighting when only one map has uncertainties. This is common; we often scale an observed map to a computed one.

I also found and fixed a bug, and simplified the code slightly.

@tjlane tjlane self-assigned this Oct 25, 2024
@tjlane tjlane requested a review from alisiafadini October 25, 2024 10:18
@tjlane tjlane merged commit 7eb90b0 into master Oct 25, 2024
5 checks passed
tjlane added a commit that referenced this pull request Oct 25, 2024
* variance weighting bugfix need test

* new test, not the strongest, but ok
tjlane added a commit that referenced this pull request Oct 27, 2024
* initialize diff script

* add scaling

* initial tv denoise script draft

* print result

* how to unify - may be busted

* minor changes

* iterative tv

* work

* getting better

* standardize on column, not label

* focus on one script for now

* homogenize on weight not lambda (#42)

* uncertainty scaling update (#41)

* variance weighting bugfix need test

* new test, not the strongest, but ok

* TvDenoise metadata csv writer

* lint

* resolve a few todo

* common unit tests

* unit tests

* prep for functional test

* fix find replace mishap

* tag as TO OPTIMIZE

* squash last rename error

* squash magic numbers and consistent formatting

* test data staging

* bughunter

* test skeleton in place

* better read write tv result

* tv result improvements

* testing almost there

* just various

* docstrings

* type safety

* lint

* use golden optimization for TV weight (#45)

* golden optimizer

* test precision

* @alisiafadini feedback

* lint

* decrease random test tolerance

* fix typo

---------

Co-authored-by: Alisia Fadini <alisia.fadini15@imperial.ac.uk>
@tjlane tjlane deleted the tjlane/uncertainty-update branch October 28, 2024 15:52
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