`hours_on` no longer needs a `max_sample_period` parameter. Also
changed method for converting from `timedelta64[ns]` to
`timedelta64[s]` so we get floats not int64s.