<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_intensity(self, time):
 """ Calculate the maximum intensity found at a timestep. """

        ti = np.where(time == self.times)[0][0]
        return self.timesteps[ti].max()