Files
tono/docs/nodes/Histogram.md

29 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Histogram
Compute the height distribution histogram (DH). Use log scale to reveal small peaks next to a dominant background. Outputs marker measurements while showing the histogram interactively in-node. Equivalent to gwy_data_field_dh.
## Inputs
| Name | Type | Required | Description |
|------|------|----------|-------------|
| field | DATA_FIELD | Yes | Input field |
## Outputs
| Name | Type | Description |
|------|------|-------------|
| measurements | RECORD_TABLE | Measurements at the two cursor markers (x/y positions and dx/dy) |
| marker_pair | COORDPAIR | Current cursor marker positions |
## Controls
| Name | Type | Default | Description |
|------|------|---------|-------------|
| n_bins | INT | 256 | Number of histogram bins (101000) |
| y_scale | dropdown | linear | Y-axis scale: linear or log |
## Notes
- Cursor positions are stored as fractions of the histogram range and are set interactively.
- Log scale displays bins as log(count); bins with zero count appear as the minimum log value.