sample-interval can be floating point