def get_state(spatial_scale, angular_scale):
    """
    Get the super-resolution task.

    :param spatial_scale: spatial upsampling factor
    :param angular_scale: angular upsampling factor

    :return:              super-resolution task
    """
    statetype = ""
    if spatial_scale != 1:
        statetype += "Sx{:d}".format(spatial_scale)
    if angular_scale != 1:
        statetype += "Ax{:d}".format(angular_scale)
    return statetype