gulps.analysis.calibration.StrengthSweep

class gulps.analysis.calibration.StrengthSweep(strengths, costs)[source]

Bases: object

The score of every single strength on a grid.

Parameters:
  • strengths (tuple[float, ...]) – The grid of powers.

  • costs (tuple[float, ...]) – The score at each strength.

property best: tuple[float, float]

The cheapest (strength, cost) on the grid.

plot(ax=None)

Plot cost against strength and mark the best point.

Parameters:

ax (matplotlib.axes.Axes | None)

Return type:

matplotlib.axes.Axes