- openpnm.models.misc.normalize(target, prop, xmin=0, xmax=1)¶
Normalizes the given array between the supplied limits
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.
xmin (float) – Lower limit of the re-scaled data
xmax (float) – Upper limit of the re-scaled data