conatus.uncertainty

conatus.uncertainty(quantity, *, N, dt, scheme_order=None, name='q')[source]

Run quantity(N=..., dt=...) (a number) on the declared studies and report its value with an error estimate: three time steps at the finest N, three resolutions at the finest dt (5 runs; the finest/finest run is shared). N: increasing resolutions (an int or a tuple per run, passed as given; the last one is the finest); dt: decreasing steps with a constant ratio; scheme_order: formal order of the time scheme (checks the asymptotic range). Nothing is chosen for you: no default list, no adaptive refinement.

Parameters:
  • quantity (Callable[[...], Any])

  • N (Sequence[int])

  • dt (Sequence[float])

  • scheme_order (int | None)

  • name (str)

Return type:

UncertaintyReport