Calculates the logarithm for the time series data using the specified base.
log(Base, TimeSeries)
The equation for the log of x with a base of b is:
Parameter | Description |
---|---|
Base | The base of the logarithm. The base cannot be 1 or less than or equal to 0.
Log base 10 is considered the common algorithm, while the natural log uses a base of around 2.718. |
TimeSeries | A node with time series data. |
log(10, @UVT_Sensor): Calculates the logarithm for the sensor data with a base of 10.
You can use this, for example, to convert percent transmittance (%T) to absorbance: Absorbance = 2 - log(10, @UVT_Sensor)
This chart shows the % Transmittance data in grey below and the calculated Absorbance in blue above.