def WavelengthToWavenumber(values):
    """Convert wavelength to wavenumber.

    Args:
        values (1darray):
            Array with wavelengths

    Returns:
        wavenumbers (1darray):
            Array with wavenumbers.
    """
    wavenumbers = 1/(values*(10**-8))
    return(wavenumbers)