def after(self, t):
t = np.datetime64(t, unit=self.unit)
mask = self.t > t
if(np.all(mask == False, axis = 0)):
return None
result = Trajectory(self.x[mask], self.y[mask], self.t[mask])
return result