def _fft_length_default(dt):
return int(max(<NUM_LIT:2>, numpy.ceil(<NUM_LIT> * dt.decompose().value)))<EOL>
Choose an appropriate FFT length (in seconds) based on a sample rate

    Parameters
    ----------
    dt : `~astropy.units.Quantity`
        the sampling time interval, in seconds

    Returns
    -------
    fftlength : `int`
        a choice of FFT length, in seconds