power_law
- plot_trans_per_state_vs_time.power_law(x, a, b)[source]
Power law to use as fit function.
- Parameters:
x (
scalar
ornumpy.ndarray
) – The sample point(s) for the functiona (
scalar
ornumpy.ndarray
) – Prefactor.b (
scalar
ornumpy.ndarray
) – Exponent.
- Returns:
result (
scalar
ornumpy.ndarray
) –a * x**b