update seizure_detector to sample at a specified frame rate.