def _octave_to_degrees(x):
    """Convert octaves to degrees, meant for mapping along 1d tuning curve results."""
    lower = x.tuning_curve_peak * 2**(-x.tuning_curve_bandwidth/2)
    upper = x.tuning_curve_peak * 2**(x.tuning_curve_bandwidth/2)
    return upper - lower