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

Refactor the plotting in favor of a Gaussian plot recipe #291

Merged
merged 22 commits into from
Feb 3, 2024

Conversation

nathanaelbosch
Copy link
Owner

@nathanaelbosch nathanaelbosch commented Jan 22, 2024

Previously we had a recipe for the specific solution type that we implemented. But for some reason, this broke du to sanges of SciML. So to not have such issues again, let's just use their plot recipe! To do this we just needed to implement some recipes for the Gaussian type that we use in the solutions, and make sure that the solution interpolation etc is doing what it should do.

This turned out bigger than I thought: To properly use the SciMLBase plot recipe, I should also use the SciMLBase solution interpolation. So doing this is what's left to do for this PR.

EDIT [2024-01-24]:

  • Add whatever we do here to the documentation page on how we interact with the OrdinaryDiffEq internals!
  • Maybe make the solution object actually have Gaussians as sol.u? And then the mean solution object has the means?
  • Document the log-likelihood that we compute!

@nathanaelbosch nathanaelbosch changed the title Refactor the plotting in favor of a Gaussian plot recipe Refactor the plotting in favor of a Gaussian plot recipe Jan 22, 2024
@nathanaelbosch nathanaelbosch force-pushed the refactor/plotrecipe branch 2 times, most recently from 87f1321 to a6f40c8 Compare January 24, 2024 17:29
src/solution.jl Outdated Show resolved Hide resolved
test/solution.jl Outdated Show resolved Hide resolved
@nathanaelbosch nathanaelbosch marked this pull request as ready for review February 3, 2024 13:54
@nathanaelbosch nathanaelbosch mentioned this pull request Feb 3, 2024
@nathanaelbosch nathanaelbosch merged commit 6935a52 into main Feb 3, 2024
6 of 7 checks passed
@nathanaelbosch nathanaelbosch deleted the refactor/plotrecipe branch February 3, 2024 17:56
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