Skip to content

Commit 64eb0a1

Browse files
[pre-commit.ci] Fixing issues with pre-commit
1 parent 9c2a0f3 commit 64eb0a1

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

docs/advanced/classes.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,21 @@ constructed, for example when first creating a `TopoStats` object after reading
4747

4848
## `GrainCrop`
4949

50-
| Attribute | Type | Description |
51-
| --------------------- | ------------------------------------------- | --------------------------------------------------------------- |
52-
| `image` | `npt.NDArray[np.float32]` | 2-D Numpy array of the cropped image. |
53-
| `mask` | `npt.NDArray[np.bool_]` | 3-D Numpy tensor of the cropped mask. |
54-
| `padding` | `int` | Padding added to the bounding box of the grain during cropping. |
55-
| `bbox` | `tuple[int, int, int, int]` | Bounding box of the crop including padding. |
56-
| `pixel_to_nm_scaling` | `float` | Pixel to nanometre scaling factor for the crop. |
57-
| `thresholds` | `float` | Thresholds used to find the grain. |
58-
| `filename` | `str` | Filename of the image from which the crop was taken. |
59-
| `skeleton` | `npt.NDArray[np.bool_]` | 3-D Numpy tensor of the skeletonised mask. |
60-
| `stats` | `dict[int, dict[int, Any]]` | Dictionary of grain statistics. |
61-
| `disordered_trace` | `DisorderedTrace` | A disordered trace for the grain. |
62-
| `nodes` | `dict[str, Nodes]` | Dictionary of grain nodes. |
63-
| `ordered_trace` | `OrderedTrace` | An ordered trace for the grain. |
64-
| `threshold_method` | `str` | Threshold method used to find grains.` |
50+
| Attribute | Type | Description |
51+
| --------------------- | --------------------------- | --------------------------------------------------------------- |
52+
| `image` | `npt.NDArray[np.float32]` | 2-D Numpy array of the cropped image. |
53+
| `mask` | `npt.NDArray[np.bool_]` | 3-D Numpy tensor of the cropped mask. |
54+
| `padding` | `int` | Padding added to the bounding box of the grain during cropping. |
55+
| `bbox` | `tuple[int, int, int, int]` | Bounding box of the crop including padding. |
56+
| `pixel_to_nm_scaling` | `float` | Pixel to nanometre scaling factor for the crop. |
57+
| `thresholds` | `float` | Thresholds used to find the grain. |
58+
| `filename` | `str` | Filename of the image from which the crop was taken. |
59+
| `skeleton` | `npt.NDArray[np.bool_]` | 3-D Numpy tensor of the skeletonised mask. |
60+
| `stats` | `dict[int, dict[int, Any]]` | Dictionary of grain statistics. |
61+
| `disordered_trace` | `DisorderedTrace` | A disordered trace for the grain. |
62+
| `nodes` | `dict[str, Nodes]` | Dictionary of grain nodes. |
63+
| `ordered_trace` | `OrderedTrace` | An ordered trace for the grain. |
64+
| `threshold_method` | `str` | Threshold method used to find grains.` |
6565

6666
## `DisorderedTrace`
6767

0 commit comments

Comments
 (0)