<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def max_spline_jump(self):
 """ Get maximum difference between spline and energy trend. """

        sp = self.spline()
        return max(self.energies - sp(range(len(self.energies))))