satn_to_seq#
- satn_to_seq(satn, im=None)[source]#
Converts an image of nonwetting phase saturations to invasion sequence values
- Parameters:
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
True
values indicating the void space.
- Returns:
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:
ndarray
Examples
Click here to view online example.