amici.petab_simulate

PEtab Simulate

Functionality related to the use of AMICI for simulation with PEtab’s Simulator class.

Use cases:

  • generate data for use with PEtab’s plotting methods

  • generate synthetic data

Classes

PetabSimulator(*args[, amici_model])

Implementation of the PEtab Simulator class that uses AMICI.

Functions Summary

subset_call(method, kwargs)

Helper function to call a method with the intersection of arguments in the method signature and the supplied arguments.

Functions

amici.petab_simulate.subset_call(method, kwargs)[source]

Helper function to call a method with the intersection of arguments in the method signature and the supplied arguments.

Parameters
  • method (typing.Callable) – The method to be called.

  • kwargs (dict) – The argument superset as a dictionary, similar to **kwargs in method signatures.

Returns

The output of method, called with the applicable arguments in kwargs.