Allow sampling frequency to be non integer value