Utility functions#
- class pybamm.Timer[source]#
Provides accurate timing.
Example
timer = pybamm.Timer() print(timer.time())
- class pybamm.FuzzyDict[source]#
- pybamm.has_jax()[source]#
Check if jax and jaxlib are installed with the correct versions
- Returns:
True if jax and jaxlib are installed with the correct versions, False if otherwise
- Return type: