appliedchemlabwork_tayra.common.calc_return_rate#

appliedchemlabwork_tayra.common.calc_return_rate(initialamount: float, result: float) float#

Calculates the reward rate of the experiment.

Parameters:
initialamountfloat

The initial amount of the reactant.

resultfloat

The resulted amount.

Returns:
ratefloat

The resulted rate.

Raises:
RuntimeError

result is larger than initialamount.