def axis_name_generator(range_of_axis=1):
    """
    Axis name generator for n axis scan.
    @type range_of_axis: int
    """
    current = 1
    names = [u'Slow', u'Slower', u'Slowest', u'Fast', u'Faster', u'Fastest']
    mapping = [[3], [0, 3], [1, 0, 3], [1, 0, 3, 4], [2, 1, 0, 3, 4], [2, 1,
        0, 3, 4, 5]]
    col = range_of_axis - 1
    while current <= range_of_axis:
        if range_of_axis <= 6:
            yield u'{}'.format(names[mapping[col][current - 1]])
        elif current == range_of_axis:
            yield u'Fast {}'.format(current)
        elif current == 1:
            yield u'Slow {}'.format(current)
        else:
            yield u'{}'.format(current)
        current += 1
