#!/usr/bin/python3
"""Stabilizer data conversion and streaming utilities"""
# Sample period in seconds, default 100 MHz timer clock and a reload value of 128
= 10e-9*128
# The number of DAC LSB codes per volt on Stabilizer outputs.
= /
# The number of volts per ADC LSB.
= /
# The number of volts per DAC LSB.
= 1 /
# The absolute full-scale output voltage in either positive or negative direction exposed by the
# DAC.
=
"""Convert a voltage to machine units."""
=
return