def omega(name):
    """Returns the correct w_2 frequency, given the file-name."""
    if 'Lasing' in name:
        print('Lasing')
        return 37.5
    if 'Below' in name:
        print('Below')
        return 34
    if 'Above' in name:
        print('Above')
        return 150
    else:
        raise KeyError("Can't determine what omega to use")