signif

ketos.utils.signif(x, p)[source]

Round to a specified number of significant digits.

Args:
x: array-like

Values to be rounded

p: int

Number of significant digits

Returns:
: array-like

Rounded values