Skip to content

Commit 85a6fd6

Browse files
authored
Merge pull request #408 from EIT-ALIVE/fix/add-documentation
Add Plotting documentation
2 parents c6071f6 + 163d70e commit 85a6fd6

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

docs/api/plotting/pixelmap.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
::: eitprocessing.plotting.pixelmap.PixelMapPlotting
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
::: eitprocessing.plotting.rate_detection.RateDetectionPlotting

eitprocessing/plotting/rate_detection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ class RateDetectionPlotting:
1919
```python
2020
>>> rd = RateDetection("adult")
2121
>>> captures = {}
22-
>>> estimated_respiratory_rate, estimated_heart_rate = rd.detect_respiratory_heart_rate(eit_data, captures=captures)
22+
>>> rr, hr = rd.apply(eit_data, captures=captures)
2323
>>> fig = rd.plotting(**captures)
24-
>>> fig.savefig(...)
24+
>>> fig.savefig("rate_detection.png") # Save the figure to a file
2525
```
2626
"""
2727

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ nav:
7272
- api/parameters.md
7373
- api/categories.md
7474
- api/mixins.md
75+
- Plotting:
76+
- Rate Detection: api/plotting/rate_detection.md
77+
- PixelMap: api/plotting/pixelmap.md
7578
- About:
7679
- Contributing: contributing_doc.md
7780
- Code of Conduct: code_of_conduct_doc.md

0 commit comments

Comments
 (0)