- openpnm.models.misc.clip(target, prop, xmax, xmin=0)¶
Clips the given array within 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) – Values below this limit will be replaced with
xmax (float) – Values above this limit will be replaced with