def METHOD_NAME(self, value=None):
    """Update the resolution when distance changed.
    Args:
        value (float): Detector distance [mm].
    """
    value = value or self._hwr_detector.distance.get_value()
    self._nominal_value = self.distance_to_resolution(value)
    self.emit("valueChanged", (self._nominal_value,))