def third(first, last):
    #third_oct_bands = THIRD_OCTAVE_CENTER_FREQUENCIES
    #low = np.where(third_oct_bands == first)[0]
    #high = np.where(third_oct_bands == last)[0]
    #return third_oct_bands[low: high+1]
    return acoustics.signal.OctaveBand(fstart=first, fstop=last, fraction=3).nominal
Generate a Numpy array for central frequencies of third octave bands.
dataset/ETHPy150Open python-acoustics/python-acoustics/acoustics/bands.py/third