def __init__(self, min_time, max_time, reverse_x=True, reverse_y=True):
    """'min_time' and 'max_time' are the the first and last event
    timestamps.  'reverse_x' and 'reverse_y' specify whether the
    directionality of x and y axes should be reversed.
    """
    self._total_secs = max_time - min_time
    self._min_time = min_time
    self._max_time = max_time
    self._cur_time = max_time
    self._width = (iphone_dims[0] - right_margin)
    self._height = iphone_dims[1]
    self._roc_max = float(max_time - min_time) / self._height
    self._roc_min = float(VFTime._MIN_TOTAL_SECS) / self._height
    self._roc_slope = float(VFTime._MIN_TOTAL_SECS - self._total_secs) / \
        (self._width * self._height)
    self._reverse_x = reverse_x
    self._reverse_y = reverse_y
    self._active = False
dataset/ETHPy150Open viewfinderco/viewfinder/clients/experimental/viewfinder.py/VFTime.__init__/original