- openpnm.topotools.isoutside(coords, shape)¶
Identifies points that lie outside the specified shape
coords (array_like) – The coordinates which are to be checked
shape (array_like) –
The shape of the domain beyond which points should be trimmed. The argument is treated as follows:
sphere : If a scalar or single element list is received, it’s treated as the radius [r] of a sphere centered on [0, 0, 0].
cylinder : If a two-element list is received it’s treated as the radius and height of a cylinder [r, z] whose central axis starts at [0, 0, 0] and extends in the positive z-direction.
rectangle : If a three element list is received, it’s treated as the outer corner of rectangle [x, y, z] whose opposite corner lies at [0, 0, 0].
An Np-long mask of
Truevalues indicating pores that lie outside the