API Reference / canonicalChart · function
Function: canonicalChart()
function canonicalChart(chart, opts?): CanonicalChart;
Project a Chart into canonical (integer) form on a declared grid. Every continuous quantity quantizes under the single rounding rule; sign, sign-degree, house, dignities, retrograde, and the aspect list are then re-derived from the quantized values in integer arithmetic, so displayed numbers and discrete facts cannot disagree and one-ulp platform drift cannot flip anything.
Parameters
| Parameter | Type | Description |
|---|---|---|
chart | Chart | A chart from Engine.chart / Engine.chartAt. |
opts | CanonicalOptions | Grid (default "arcsec") and the aspect options the chart was computed with. |
Returns
The CanonicalChart; feed it to canonicalDigest for a content address.