- openpnm.models.misc.basic_math.fraction(target, numerator, denominator)¶
Calculates the ratio between two values
target (Base) – The object which this model is associated with. This controls the length of the calculated array, and also provides access to other necessary properties.
numerator (str) – Dictionary key pointing the numerator values
denominator (str) – Dictionary key pointing the denominator values