Skip to content

Commit

Permalink
docs: profiles in table
Browse files Browse the repository at this point in the history
  • Loading branch information
RUrlus authored and sbrugman committed Jul 5, 2022
1 parent b5b7626 commit 65459af
Showing 1 changed file with 24 additions and 26 deletions.
50 changes: 24 additions & 26 deletions docs/source/profiles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,29 @@ Available profiles
------------------
The following metrics are implemented:

Any dimension

- count

1D histogram, all types:

- filled
- underflow, overflow
- nan

1D histogram, numeric:

- mean
- 1%, 5%, 16%, 50% (median), 84%, 95%, 99% percentiles
- std
- min, max

1D histogram, categorical

- fraction of true

2D histogram:

- phik
+------------+-----------------+-------------------------------------------------------+
| Dimension | Histogram Type | Metric |
+============+=================+=======================================================+
| Any | Any | Count |
+------------+-----------------+-------------------------------------------------------+
| 1D | Any | Filled |
+------------+-----------------+-------------------------------------------------------+
| 1D | Any | Underflow, Overflow |
+------------+-----------------+-------------------------------------------------------+
| 1D | Any | NaN |
+------------+-----------------+-------------------------------------------------------+
| 1D | Numeric | Mean |
+------------+-----------------+-------------------------------------------------------+
| 1D | Numeric | 1%, 5%, 16%, 50% (median), 84%, 95%, 99% percentiles |
+------------+-----------------+-------------------------------------------------------+
| 1D | Numeric | Standard deviation |
+------------+-----------------+-------------------------------------------------------+
| 1D | Numeric | Min, Max |
+------------+-----------------+-------------------------------------------------------+
| 1D | Categorical | Fraction of True |
+------------+-----------------+-------------------------------------------------------+
| 2D | Any | PhiK Correlation |
+------------+-----------------+-------------------------------------------------------+


Custom profiles
Expand Down Expand Up @@ -65,8 +64,7 @@ Variations:
result1, result2 = your_logic(hist)
return result1, result2
- A profile may work on the histogram, or on the value counts/labels (also for efficiency).
This occurs when the ``htype`` parameter is passed (1D only)
- A profile may work on the histogram, or on the value counts/labels (also for efficiency). This occurs when the ``htype`` parameter is passed (1D only)

.. code-block:: python
Expand Down

0 comments on commit 65459af

Please sign in to comment.