- satn_to_seq(satn, im=None)#
Converts an image of nonwetting phase saturations to invasion sequence values
satn (ndarray) – A Numpy array with the value in each voxel indicating the global saturation at the point it was invaded. -1 indicates a voxel that not invaded.
im (ndarray) – A Numpy array with
Truevalues indicating the void space.
satn – A Numpy array with each voxel value indicating the global saturation at which it was invaded. Solid voxels are indicated by 0 and uninvaded by -1.
- Return type:
Click here to view online example.