-
Notifications
You must be signed in to change notification settings - Fork 4
Vectorize leaf dynamics #36
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
995c73e
vectorize integration for single parameters
fnattino 6128341
apply ruff formatting
fnattino 3ea31bf
fix typo
fnattino c1d771d
adapt to any shape of parameters
fnattino 69320a2
add ruff formatting
fnattino 4241d4d
fix in order to deal with arbitrary shapes together with 0-d params
fnattino ecfe10c
remove BMI-related function
fnattino 4768a26
fix bug in dimensions handling
fnattino a9b9baa
add tests
fnattino 5d28d3f
Merge branch 'main' into 19-vectorize-leaf-dynamics-fn
fnattino af9dd7c
Update tests/physical_models/crop/test_leaf_dynamics.py
fnattino fd755d7
add comments to the class attributes
fnattino bc275db
add comments on trackability of gradients
fnattino 8b9b941
apply ruff format
fnattino 4c78770
bug fix on oldest leaf class identification
fnattino c8c2609
fix initialization of variables
fnattino 919bb7a
refactor function
fnattino af72abd
add parametrization to tests
fnattino 2752563
fix expected error
fnattino 8679bc3
adapt function to calculate gradients numerically
fnattino eb4e084
adapt root dynamics test to fit changes in leaf dynamics
fnattino 7148a5d
fix comments to the more generic parameter
fnattino d7b311b
apply ruff format
fnattino c952e0f
upack some of the parametrized tests
fnattino 74f0b17
readd check on gradient being zero for TWLV w.r.t. SPAN
fnattino 85a5b55
fix tests on gradient of RD w.r.t. TDWI
fnattino 8aaa76f
lint fix of import statements
fnattino 6abf44e
add tolerance to test
fnattino 053f62f
linting fix
fnattino c03fb06
replace comparison to use autogradient
fnattino 234a17c
linting fix
fnattino de555c2
remove test on numerical gradient of twrt wrt rd (is zero)
fnattino 0bf92eb
remove unused import statement
fnattino 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
Oops, something went wrong.
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.