integrating over exposure time