import tensorflow as tf

        result = self.dflux / self.dtime
        if clip_magnitude is not None:
            result = tf.clip_by_value(
                result, clip_value_min=-clip_magnitude, clip_value_max=clip_magnitude
