power_law

plot_trans_per_state_vs_time.power_law(x, a, b)[source]

Power law to use as fit function.

Parameters:
Returns:

result (scalar or numpy.ndarray) – a * x**b