def __init__(self, value: cirq.TParamVal, period: cirq.TParamVal):
        """Initializes the equivalence class.

        Args:
            value: numerical value to wrap.
            period: periodicity of the numerical value.
        """
        self.value = value % period
        self.period = period
Initializes the equivalence class.

        Args:
            value: numerical value to wrap.
            period: periodicity of the numerical value.
        
cirq-core/cirq/value/periodic_value.py