Data resampled at the specified frequency. If mask_inactivity is True, the mask is used to filter inactive data.