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

Evaluate and plot symbolic expressions based on simulation results #2152

Merged
merged 13 commits into from
Nov 1, 2023

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented Jul 27, 2023

Adds functions amici.numpy.evaluate and amici.plotting.plot_expressions to evaluate or directly plot symbolic expressions of model quantities, respectively.

Demo: see end of this section https://amici--2152.org.readthedocs.build/en/2152/ExampleSteadystate.html#Plotting-trajectories

@dweindl dweindl force-pushed the feature_dw_plot_exprs branch from e03714e to 6f40e5d Compare July 27, 2023 10:02
@codecov
Copy link

codecov bot commented Jul 27, 2023

Codecov Report

Merging #2152 (cee7e5e) into develop (ea95896) will decrease coverage by 0.03%.
The diff coverage is 53.33%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2152      +/-   ##
===========================================
- Coverage    76.63%   76.61%   -0.03%     
===========================================
  Files           82       82              
  Lines        14985    15000      +15     
===========================================
+ Hits         11484    11492       +8     
- Misses        3501     3508       +7     
Flag Coverage Δ
cpp 73.53% <ø> (ø)
petab 53.82% <13.33%> (-0.11%) ⬇️
python 77.17% <53.33%> (-0.07%) ⬇️
sbmlsuite ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
python/sdist/amici/numpy.py 82.82% <100.00%> (+1.50%) ⬆️
python/sdist/amici/plotting.py 0.00% <0.00%> (ø)

@dweindl dweindl self-assigned this Jul 27, 2023
@dweindl dweindl force-pushed the feature_dw_plot_exprs branch from 6f40e5d to 08b2a25 Compare August 17, 2023 07:21
@dweindl dweindl force-pushed the feature_dw_plot_exprs branch from 08b2a25 to 00587b0 Compare August 27, 2023 13:53
@dweindl dweindl force-pushed the feature_dw_plot_exprs branch from e62db52 to f16293d Compare September 19, 2023 19:57
@dweindl dweindl force-pushed the feature_dw_plot_exprs branch from 48f7c42 to 929bd12 Compare September 20, 2023 09:07
@dweindl dweindl marked this pull request as ready for review September 20, 2023 09:07
@dweindl dweindl requested a review from a team as a code owner September 20, 2023 09:07
@dweindl dweindl requested a review from Doresic September 20, 2023 09:08
@dweindl dweindl merged commit 71295a5 into develop Nov 1, 2023
14 of 17 checks passed
@dweindl dweindl deleted the feature_dw_plot_exprs branch November 1, 2023 08:49
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.

2 participants