def iscloseinE(v1, v2):
    """ Method to determine if two spectral lines are very close in energy

        Parameters
        ----------
        v1 : float
            Energy of first transition.

        v2 : float
            Energy of second transition

        Returns
        -------
        True/False whether or not the energies are very close

    """
    return (abs(v2 - v1) < 1.0) and (abs(((v2 + 0.0001) / (v1 + 0.0001)) - 1) < 0.01)