compute_particulate_checksum

lsst.ts.ess.common.sensor.compute_particulate_checksum(checksum_string: str) int

Compute the checksum for Sensirion SPS30 particulate matter sensor data.

Parameters:
checksum_stringstr

The string for which the checksum is computed.

Returns:
checksumint

The checksum (sum of all bytes modulo 256).