this line assumes self.times has negative values which is wrong if tmin > 0.

it's a different issue but might relevant to fix here too.

looks good otherwise