lime/qnm.py
def resonance(omega):
    """
    determine the resonance of the cavity mode.
    Resonance frequency is the zeros of the returned determinantal function.

    Parameters
    ----------
    omega

    Returns
    -------

    """
    k1 = omega / n1
    k0 = omega / n0
    return tan(k0 * L) + (k0/k1) * tan(k1 * d)

    determine the resonance of the cavity mode.
    Resonance frequency is the zeros of the returned determinantal function.

    Parameters
    ----------
    omega

    Returns
    -------

    
determine the resonance of the cavity mode.
Resonance frequency is the zeros of the returned determinantal function.

Parameters

omega

Returns
determine the resonance of the cavity mode . Resonance frequency is the zeros of the returned determinantal function . Parameters omega Returns
def resonance(omega):
    k1 = omega / n1
    k0 = omega / n0
    return tan(k0 * L) + (k0/k1) * tan(k1 * d)
def resonance ( omega ) : k1 = omega / n1 k0 = omega / n0 return tan ( k0 * L ) + ( k0 / k1 ) * tan ( k1 * d )
determine the resonance of the cavity mode.
determine the resonance of the cavity mode .
"""
    determine the resonance of the cavity mode.
    Resonance frequency is the zeros of the returned determinantal function.

    Parameters
    ----------
    omega

    Returns
    -------

    """
omega