def get_azimuth_value(label):
    """
    Returns the angle in degrees represented by a azimuth label int.

    Parameters
    ----------
    label: int
      Azimuth label.
    """

    _check_is_integral('azimuth', label)
    if label == -1:
        return None
    else:
        if (label % 2) != 0 or label < 0 or label > 34:
            raise ValueError("Expected azimuth to be an even "
                             "number between 0 and 34 inclusive, "
                             "or -1, but got %s instead." %
                             str(label))

        return label * 10
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/datasets/new_norb.py/get_azimuth_value/original