lime/ToBeErased/FranckCondon/DiffFreqs.py
def genIntensities( deltaE, deltaQ, w_wavenumbers, wprime_wavenumbers):
    """ wprime must be greater than w"""
    wprime = wprime_wavenumbers/8065.5/27.2116
    w = w_wavenumbers/8065.5/27.2116
    intensityFunction = lambda n: (diffFreqOverlap([n, wprime_wavenumbers], [0, w_wavenumbers], deltaQ))**2
    intensities = map(intensityFunction, range(0,11))
    return intensities
 wprime must be greater than w
wprime must be greater than w
wprime must be greater than w
def genIntensities( deltaE, deltaQ, w_wavenumbers, wprime_wavenumbers):
    wprime = wprime_wavenumbers/8065.5/27.2116
    w = w_wavenumbers/8065.5/27.2116
    intensityFunction = lambda n: (diffFreqOverlap([n, wprime_wavenumbers], [0, w_wavenumbers], deltaQ))**2
    intensities = map(intensityFunction, range(0,11))
    return intensities
def genIntensities ( deltaE , deltaQ , w_wavenumbers , wprime_wavenumbers ) : wprime = wprime_wavenumbers / 8065.5 / 27.2116 w = w_wavenumbers / 8065.5 / 27.2116 intensityFunction = lambda n : ( diffFreqOverlap ( [ n , wprime_wavenumbers ] , [ 0 , w_wavenumbers ] , deltaQ ) ) ** 2 intensities = map ( intensityFunction , range ( 0 , 11 ) ) return intensities
wprime must be greater than w
wprime must be greater than w
""" wprime must be greater than w"""
deltaE
deltaQ
w_wavenumbers
wprime_wavenumbers