Repository navigation
Adding decomposed FoKL GPs into PyBOP - #978
Conversation
|
I fixed the issue where the end user needed to use indices to call function inputs instead of strings: User can now select from the set of passed children to the function by referencing the string in the |
Co-authored-by: NicolaCourtier <45851982+NicolaCourtier@users.noreply.github.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #978 +/- ##
===========================================
+ Coverage 93.32% 93.53% +0.20%
===========================================
Files 84 85 +1
Lines 6842 7172 +330
===========================================
+ Hits 6385 6708 +323
- Misses 457 464 +7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
NicolaCourtier
left a comment
There was a problem hiding this comment.
Hi @derek-slack, this looks great! Thanks for sharing a nice example, I have shortened it for readability and easier maintenance. A couple of requests:
- Would it be possible to show a plot of the estimated electrolyte diffusivity at the end of the example, versus the constant value?
- Please could you expand the description a bit and perhaps add a link/citation to the definition of a "FoKL GP" at the top of the example?
Thanks!
|
Thanks all! |
Description
This push adds the ability to create FoKL GPs as parameter functions of the state of the cell.
Fixes #972
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #).
Important checks:
Please confirm the following before marking the PR as ready for review:
No style issues:
$ pre-commit runor$ nox -s pre-commit(see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)All tests pass:
nox -s testsThe documentation builds:
nox -s doctestCode is commented for hard-to-understand areas
Tests added that prove fix is effective or that feature works