-
Notifications
You must be signed in to change notification settings - Fork 14
Adjoint updates and other minor improvements #134
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
Closed
MathiasMNilsen
wants to merge
127
commits into
Python-Ensemble-Toolbox:main
from
MathiasMNilsen:main
Closed
Changes from all commits
Commits
Show all changes
127 commits
Select commit
Hold shift + click to select a range
9e3a821
update to TrustRegion
400c79a
some design changes to TrustRegion
98211a0
decoupled GenOpt from Ensemble
6152b7f
decoupled GenOpt from Ensemble
544682a
Merge branch 'Python-Ensemble-Toolbox:main' into main
MathiasMNilsen 8ff8d5f
Cleaned up code duplication and renamed some stuff
235948d
comments
e9d2281
Merge branch 'main' of https://github.com/Python-Ensemble-Toolbox/PET
2543ab6
Merge branch 'Python-Ensemble-Toolbox:main' into main
MathiasMNilsen 1d0988f
improved and cleaned up LineSearch
87122f7
fixed conflicts
af046a0
added Newton-CG to LineSearch
ab6543e
improved logging for LineSearch
237b80a
dummy message for github check
MathiasMNilsen e29c159
empty commit
MathiasMNilsen 32abdce
udpate BFGS to skip update if negetive curvature
MathiasMNilsen 4ae14f7
made input more elegant and cleaned up popt structure
MathiasMNilsen 3cdd192
changed @cache to @lru_cache
MathiasMNilsen c8c172a
Merge branch 'Python-Ensemble-Toolbox:main' into main
MathiasMNilsen 1061cbf
branch commit
MathiasMNilsen 37796f4
branch commit
MathiasMNilsen 89f5f38
re-added stuff that got deleted
MathiasMNilsen 9589a3a
dummy commit
MathiasMNilsen 16ac748
fixed what got lost
MathiasMNilsen 390c26b
fixed what got lost
MathiasMNilsen 42ad4ab
fixed confusing naming of input keys
MathiasMNilsen 16acee2
more input stuff
MathiasMNilsen b10f621
added extract_maxiter to extract_tools
MathiasMNilsen ff64901
assertion fix
MathiasMNilsen b2e3b27
fixed input for sim options
MathiasMNilsen 18f49df
Merge branch 'main' into main
rolfjl 2b22df6
Update extract_tools.py
rolfjl 88cd325
Merge branch 'Python-Ensemble-Toolbox:main' into main
MathiasMNilsen da70d84
added a general file reader
MathiasMNilsen b1b566f
fixed an import error
MathiasMNilsen 0d6b687
fixed a bug
MathiasMNilsen c0e008e
Started to introduce ensemble matrix (and code simplification)
MathiasMNilsen 37b843a
replaced self.state with self.enX (matrix) for EnRML and ESMDA
MathiasMNilsen 1e1b19a
removed temp_save functions (they are not in use anymore)
MathiasMNilsen 52e41ab
Clean up and redsign update for EnRML and ESMDA
MathiasMNilsen f4d2907
Remove old function from analysis_tools.py
MathiasMNilsen 162414a
Redefines state related variables
MathiasMNilsen 4195844
Redefine the state scaler functions.
MathiasMNilsen 042e90a
Correct logical bug for state scalers
MathiasMNilsen ff151a4
Update get_state() and get_cov()
MathiasMNilsen 3fe6b5f
Rewrite self.function to accommodate state changes
MathiasMNilsen 450b325
Rewrite ensemble.gradient to state changes
MathiasMNilsen 2f6521a
Rewrite ensemble.hessian
MathiasMNilsen 78f9fb5
Add save_stateX function
MathiasMNilsen 1d3f774
remove save_final_state function
MathiasMNilsen 1753335
Remove vec_to_state function
MathiasMNilsen f8efda8
Change order of some functions in ensemble
MathiasMNilsen 4dd5582
Remove initialization of bias variables
MathiasMNilsen f0a47b6
Rewrite calc_ensemble_weights to accomodate changes
MathiasMNilsen 160da50
Remove unused bias functions
MathiasMNilsen a8e7b5a
Remove unused function
MathiasMNilsen 7556c4d
Remove unused imports
MathiasMNilsen 582228e
Update docstring
MathiasMNilsen 0196097
Update docstring
MathiasMNilsen 08fce6b
Update GenOpt to state changes
MathiasMNilsen b709fd0
Improve readability of code
MathiasMNilsen 8eb2a5c
Improve readability
MathiasMNilsen e59eb02
Improve readability
MathiasMNilsen 918b169
Improve readability of subspace_update
MathiasMNilsen 07339f2
Rewrite ESMDA
MathiasMNilsen f52ca5c
Rewrite EnKF for readability
MathiasMNilsen 78edbf3
Use truncSVD function
MathiasMNilsen b077009
Rewrite local analysis for region params
MathiasMNilsen d13d0f2
Update the progressbar
MathiasMNilsen ded9473
Change style of logger
MathiasMNilsen 0b4b9fd
Add alternative way of defining initial controls for optimization
MathiasMNilsen ada4235
Update style of progressbar
MathiasMNilsen afcecd8
Update logger for ESMDA and ENRML
MathiasMNilsen b864d19
Add savefolder option to Assimilation
MathiasMNilsen cf63b56
Fix logging bug
MathiasMNilsen 00673cd
Fix logging bug
MathiasMNilsen 9b4bfbb
Add logger.py
MathiasMNilsen dd99533
Use PetLogger
MathiasMNilsen 3f9abf1
Update string
MathiasMNilsen 9078c9f
Add convergence message
MathiasMNilsen a83a0e2
Remove lines
MathiasMNilsen 91cf5d1
Add cosmetic changes to PetLogger
MathiasMNilsen 8a263fd
Update dosctring for PetLogger
MathiasMNilsen f34a809
Improve logging for LineSearch
MathiasMNilsen aaa9786
Update docstring for Petlogger
MathiasMNilsen f1f7396
Update PetLogger
MathiasMNilsen 3d021a7
Update calc_ml_prediction
MathiasMNilsen a7e1af2
Rewrite multilevel code
MathiasMNilsen 18fc381
Fix multilevel bugs
MathiasMNilsen 5083684
Fix bugs
MathiasMNilsen cb8132f
Merge branch 'Python-Ensemble-Toolbox:main' into main
MathiasMNilsen f88fe0e
Comment out log.info
MathiasMNilsen c8ae932
Reorganize code with ensemble-matrix
MathiasMNilsen c6ed492
Fix small bug
MathiasMNilsen fc4668c
Fix bug relating to data_mismatch for multilevel
MathiasMNilsen 3cc09aa
Remove unused imports for multilevel
MathiasMNilsen 5f935aa
Add progbar_settings to multilevel
MathiasMNilsen 2950568
Update popt/update_schemes/linesearch.py
KriFos1 542c51e
Update pipt/update_schemes/update_methods_ns/hybrid_update.py
KriFos1 559c9ba
Update pipt/misc_tools/extract_tools.py
KriFos1 af200ca
Update pipt/loop/ensemble.py
KriFos1 16ed42e
Update optimize.py
rolfjl f8f1a74
Fix bugs
MathiasMNilsen e3cc78e
Merge branch 'main' of github.com:MathiasMNilsen/PET
MathiasMNilsen b52f83f
Fix bugs
MathiasMNilsen 602bb6b
Update linesearch.py
MathiasMNilsen fc8bd60
Update ensemble_tools.py
MathiasMNilsen 10ac754
Merge branch 'Python-Ensemble-Toolbox:main' into main
MathiasMNilsen b227367
update TrustRegion
MathiasMNilsen 32dfeab
Fix serious bug regarding scaling of enX for popt
MathiasMNilsen 1890720
Merge branch 'main' of github.com:MathiasMNilsen/PET
MathiasMNilsen 6673b4e
Remove one-liner
MathiasMNilsen 43eee87
Improve some logic for ensemble gradient
MathiasMNilsen bfc4ee1
Include adjoints from simulator
MathiasMNilsen 903f262
fix bug
MathiasMNilsen 2d9b20d
Fix iter bug for line-search
MathiasMNilsen ea5b356
Maake line-search logger fancier
MathiasMNilsen bc77354
Make line-search logger fancier
MathiasMNilsen 6e2ee74
Update TrustRegion and Logger
MathiasMNilsen 602846a
Include adjoints for LM-EnRML
MathiasMNilsen 4da0778
Small fix
MathiasMNilsen e0dee27
Merge branch 'main' into main
rolfjl c9f3d74
Merge branch 'Python-Ensemble-Toolbox:main' into main
MathiasMNilsen dd4cf6c
Update truncSVD
MathiasMNilsen 6286664
Change order of log_update
MathiasMNilsen fd9f528
Fix ensemble size handling and staticvar import logic
MathiasMNilsen c915ef1
Fix bug
MathiasMNilsen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.