Skip to content

Save¤

jumpax.Save ¤

Controls what data to save during simulation.

__init__(states: bool = True, reaction_counts: bool = False, dense: bool = False) ¤

Arguments:

  • states: Whether to save the state at each step of the solver. Defaults to True.
  • reaction_counts: Whether to save an array containing the number of times each reaction occurred. Defaults to False.
  • dense: Whether to save the intermediate diffrax solver steps in hybrid models. Only applicable when using jumpax.HybridSSA or jumpax.HazardSSA. Defaults to False.