Reto's toolbox
Here is the documentation for Reto's toolbox. Well, this is most likely for myself and thus mostly consists of an automatically generated API documentation.
On the right-hand side you can find the available tools.
Installation
To install the tools into your environment,
you should install from git.
Units
Note that pint
is used to provide unitful quantities to certain routiens.
These are indicated by the Quantity annotation.
To use units, the following gives an example:
from rttools import ureg # the unit registry
voltage = 3 * ureg.V
current = 1.5 * ureg.A
resistance = voltage / current
In this example, resistance will now be unitful.
This is very helpful for avoiding unit conversion mistakes!