-
# Issue with gaps in the labels
## Current output
```
q
Out[23]: array([ 0, 0, 1, 1, 12, 1, 12, 12, 12, 12])
ps.metrics.phase_fraction(q)
Out[24]: array([0.2, 0.3, 0. , 0. , 0. , 0. , 0. ,…
-
Hi, I just start to extract a PNM from CT images (.raw format). During the processing, python raised the error **IndexError: too many indices for array**. The detailed traceback is
```
-------------…
-
## Description
The watershed function accepts a ``mask`` argument, which in principle tells it to only segment the pixels/voxels where the mask is true. However, a small number of pixels/voxels are …
-
```python
import numpy as np
import porespy as ps
import matplotlib.pyplot as plt
import openpnm as op
np.random.seed(3)
im1 = ps.generators.blobs(shape=[400, 200], porosity=None, blobiness=…
-
Need to replace this line:
https://github.com/PMEAL/porespy/blob/ec0b97a53d1e9c2f2e6cfaef2c86cdd1bc6bb033/porespy/__init__.py#L86
with:
```python
settings.notebook = is_notebook()
def is_note…
-
-
A student of mine tried running in 3.6 and couldn't import. Probably want to update the website.
Thanks
-
At the moment it trims peaks that are closer to another peak than to solid, but it'd be nice if we could put some sort of absolute AND relative tolerance, so it only trims peaks if they are too close …
-
I love [this page](https://docs.scipy.org/doc/scipy/reference/ndimage.html) on the scipy.ndimage docs. I actually have it bookmarked. I would like to see something like this on the porespy docs.
-
**Describe the bug**
I get the following error when trying to import openpnm (latest devel version)
```
Python 3.8.8 (default, Apr 13 2021, 19:58:26)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Typ…