scipp.log10#
- scipp.log10(x, *, out=None)#
Element-wise base 10 logarithm.
- Parameters:
- Returns:
TypeVar(_T) – Base 10 logarithm of the input.
Examples
Compute base 10 logarithm:
>>> import scipp as sc >>> x = sc.array(dims=['x'], values=[1.0, 10.0, 100.0, 1000.0]) >>> sc.log10(x) <scipp.Variable> (x: 4) float64 [dimensionless] [0, 1, 2, 3]
The input must be dimensionless and positive.