def lam2f(l):
    """
    Computes the photon frequency in Hz

    Parameters
    ----------    
    l : float
        Photon wavelength in m
    
    Returns
    -------
    f : float
        Frequency in Hz
    """
    f = 299792458/l
    return f