sbmlsim.examples.example_scan

Example shows basic model simulations and plotting.

Module Contents

Functions

run_scan0d()

Perform a parameter 0D scan, i.e., simple simulation

run_scan1d()

Perform a 1D parameter scan.

run_scan2d()

Perform a parameter scan

run_scan1d_distribution()

Perform a parameter scan by sampling from a distribution

Attributes

column

# scan0d

sbmlsim.examples.example_scan.run_scan0d()[source]

Perform a parameter 0D scan, i.e., simple simulation

Return type

sbmlsim.result.XResult

sbmlsim.examples.example_scan.run_scan1d()[source]

Perform a 1D parameter scan.

Scanning a single parameter.

Return type

sbmlsim.result.XResult

sbmlsim.examples.example_scan.run_scan2d()[source]

Perform a parameter scan

Return type

sbmlsim.result.XResult

sbmlsim.examples.example_scan.run_scan1d_distribution()[source]

Perform a parameter scan by sampling from a distribution

Return type

sbmlsim.result.XResult

sbmlsim.examples.example_scan.column = PX[source]

# scan0d xres = run_scan0d() for key in [‘PX’, ‘PY’, ‘PZ’]:

plt.plot(xres.time, xres[key], label=key)

plt.legend() plt.show()

# scan1d xres = run_scan1d() xres.xds[column].plot() plt.show()