replaced dt filtering with another sample rate measurement method