-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: add is_parameter_timeseries
trait, improve parameter timeseries indexing
#75
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #75 +/- ##
===========================================
+ Coverage 28.07% 92.82% +64.75%
===========================================
Files 11 12 +1
Lines 513 1018 +505
===========================================
+ Hits 144 945 +801
+ Misses 369 73 -296
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
6c9c517
to
9130c4b
Compare
docs/src/api.md
Outdated
#### Parameter timeseries | ||
|
||
If the index provider contains parameters that change during the course of the simulation | ||
at discrete intervals, it must implement the following methods to ensure correct |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at discrete intervals, it must implement the following methods to ensure correct | |
at discrete time points, it must implement the following methods to ensure correct |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 9046cd7
docs/src/api.md
Outdated
at discrete intervals, it must implement the following methods to ensure correct | ||
functioning of [`getu`](@ref) and [`getp`](@ref) for value providers that save the parameter | ||
timeseries. Note that there can be multiple parameter timeseries, in case different parameters | ||
change at different times. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change at different times. | |
may change at different times. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 9046cd7
docs/src/complete_sii.md
Outdated
@@ -305,6 +313,164 @@ integrator.ps[:b] = 3.0 | |||
setp(integrator, :b)(integrator, 3.0) # functionally the same as above | |||
``` | |||
|
|||
## Parameter Timeseries | |||
|
|||
If a solution object saves modified parameter values (such as through callbacks) during the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a solution object saves modified parameter values (such as through callbacks) during the | |
If a solution object includes modified parameter values (such as through callbacks) during the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 9046cd7
c228ec4
to
59fe65b
Compare
- some new, some deleted interface methods - extensive validation for input values - consistency with getu and getp - proper error messages
59fe65b
to
f9c500f
Compare
I'll reopen to run CI once MTK and SciMLBase are tagged (closed it a bit prematurely) |
RAT downstream failure is an adjoint bug in SciMLBase |
SciMLBase downstream failure is an MTK bug |
Checklist
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
Additional context
Add any other context about the problem here.